forked from rpms/openssh
fix dependencies in systemd units (#805338)
This commit is contained in:
parent
33e0acc5ef
commit
52f99b131a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user