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]
|
2017-02-20 12:31:29 +00:00
|
|
|
Type=notify
|
2015-11-09 16:10:15 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/sshd
|
2020-06-08 19:47:34 +00:00
|
|
|
ExecStart=/usr/sbin/sshd -D $OPTIONS
|
2017-08-09 12:58:13 +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
|