forked from rpms/openssh
Update sshd service file to forking (as #1291172)
This commit is contained in:
parent
7adf5f4c63
commit
d1b43a2865
@ -5,8 +5,10 @@ After=network.target sshd-keygen.service
|
|||||||
Wants=sshd-keygen.service
|
Wants=sshd-keygen.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
PIDFile=/var/run/sshd.pid
|
||||||
EnvironmentFile=-/etc/sysconfig/sshd
|
EnvironmentFile=-/etc/sysconfig/sshd
|
||||||
ExecStart=/usr/sbin/sshd -D $OPTIONS
|
ExecStart=/usr/sbin/sshd $OPTIONS
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
KillMode=process
|
KillMode=process
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
Loading…
Reference in New Issue
Block a user