Update sshd service file to forking (as #1291172)

This commit is contained in:
Jakub Jelen 2016-01-26 13:54:53 +01:00
parent 7adf5f4c63
commit d1b43a2865

View File

@ -5,8 +5,10 @@ After=network.target sshd-keygen.service
Wants=sshd-keygen.service
[Service]
Type=forking
PIDFile=/var/run/sshd.pid
EnvironmentFile=-/etc/sysconfig/sshd
ExecStart=/usr/sbin/sshd -D $OPTIONS
ExecStart=/usr/sbin/sshd $OPTIONS
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure