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)
|
2016-04-15 15:19:02 +02:00
|
|
|
After=network.target sshd-keygen.target
|
|
|
|
Wants=sshd-keygen.target
|
2011-04-23 09:13:06 +02:00
|
|
|
|
|
|
|
[Service]
|
2017-02-20 13:31:29 +01:00
|
|
|
Type=notify
|
2015-11-09 17:10:15 +01:00
|
|
|
EnvironmentFile=-/etc/sysconfig/sshd
|
2017-02-20 13:31:29 +01:00
|
|
|
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
|
2017-03-01 18:35:45 +01:00
|
|
|
RestartPreventExitStatus=255
|
2011-04-23 09:13:06 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|