From d1b43a28653c780648d4625c7f56667883afbf40 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Jan 26 2016 12:54:53 +0000 Subject: Update sshd service file to forking (as #1291172) --- diff --git a/sshd.service b/sshd.service index 6c6a664..825a931 100644 --- a/sshd.service +++ b/sshd.service @@ -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