fix dependencies in systemd units (#805338)

This commit is contained in:
Petr Lautrbach 2012-03-23 08:48:03 +01:00
parent 33e0acc5ef
commit 52f99b131a
2 changed files with 2 additions and 3 deletions

View File

@ -2,12 +2,10 @@
Description=SSH server keys generation.
After=syslog.target
Before=sshd.service
BindTo=sshd.service
[Service]
Type=oneshot
EnvironmentFile=/etc/sysconfig/sshd
ExecStart=/usr/sbin/sshd-keygen
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target

View File

@ -1,6 +1,7 @@
[Unit]
Description=OpenSSH server daemon
After=syslog.target network.target auditd.service
Wants=sshd-keygen.service
[Service]
EnvironmentFile=/etc/sysconfig/sshd