2011-04-23 09:13:06 +02:00
|
|
|
[Unit]
|
2011-11-18 09:20:54 +01:00
|
|
|
Description=OpenSSH server daemon
|
2015-01-13 17:48:55 +01:00
|
|
|
Documentation=man:sshd(8) man:sshd_config(5)
|
2014-06-03 17:47:56 +02:00
|
|
|
After=network.target sshd-keygen.service
|
|
|
|
Wants=sshd-keygen.service
|
2011-04-23 09:13:06 +02:00
|
|
|
|
|
|
|
[Service]
|
2011-11-18 09:20:54 +01:00
|
|
|
EnvironmentFile=/etc/sysconfig/sshd
|
|
|
|
ExecStart=/usr/sbin/sshd -D $OPTIONS
|
2011-06-28 10:35:28 +02:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2013-04-12 15:15:45 +02:00
|
|
|
KillMode=process
|
2013-09-11 16:38:22 +02:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=42s
|
2011-04-23 09:13:06 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|