diff --git a/sshd.service b/sshd.service index a2935cc..094eaa0 100644 --- a/sshd.service +++ b/sshd.service @@ -7,6 +7,7 @@ EnvironmentFile=/etc/sysconfig/sshd ExecStartPre=/usr/sbin/sshd-keygen ExecStart=/usr/sbin/sshd -D $OPTIONS ExecReload=/bin/kill -HUP $MAINPID +KillMode=process [Install] WantedBy=multi-user.target