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)
|
2014-06-03 15:47:56 +00:00
|
|
|
After=network.target sshd-keygen.service
|
|
|
|
Wants=sshd-keygen.service
|
2011-04-23 07:13:06 +00:00
|
|
|
|
|
|
|
[Service]
|
2015-11-09 16:10:15 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/sshd
|
2011-11-18 08:20:54 +00:00
|
|
|
ExecStart=/usr/sbin/sshd -D $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
|