2011-04-23 07:13:06 +00:00
|
|
|
[Unit]
|
2011-11-18 08:20:54 +00:00
|
|
|
Description=OpenSSH server daemon
|
2015-01-13 16:48:55 +00:00
|
|
|
Documentation=man:sshd(8) man:sshd_config(5)
|
2016-04-15 13:19:02 +00:00
|
|
|
After=network.target sshd-keygen.target
|
|
|
|
Wants=sshd-keygen.target
|
2011-04-23 07:13:06 +00:00
|
|
|
|
|
|
|
[Service]
|
2016-01-26 12:54:53 +00:00
|
|
|
Type=forking
|
|
|
|
PIDFile=/var/run/sshd.pid
|
2015-11-09 16:10:15 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/sshd
|
2016-01-26 12:54:53 +00:00
|
|
|
ExecStart=/usr/sbin/sshd $OPTIONS
|
2011-06-28 08:35:28 +00:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2013-04-12 13:15:45 +00:00
|
|
|
KillMode=process
|
2013-09-11 14:38:22 +00:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=42s
|
2011-04-23 07:13:06 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|