Petr Šabata 81d24c
[Unit]
Petr Šabata 81d24c
Description=OpenSSH server daemon
Petr Šabata 81d24c
Documentation=man:sshd(8) man:sshd_config(5)
Petr Šabata 81d24c
After=network.target sshd-keygen.target
Petr Šabata 81d24c
Wants=sshd-keygen.target
Petr Šabata 81d24c
Petr Šabata 81d24c
[Service]
Petr Šabata 81d24c
Type=notify
Petr Šabata 81d24c
EnvironmentFile=-/etc/sysconfig/sshd
Petr Šabata 81d24c
ExecStart=/usr/sbin/sshd -D $OPTIONS
Petr Šabata 81d24c
ExecReload=/bin/kill -HUP $MAINPID
Petr Šabata 81d24c
KillMode=process
Petr Šabata 81d24c
Restart=on-failure
Petr Šabata 81d24c
RestartSec=42s
Petr Šabata 81d24c
Petr Šabata 81d24c
[Install]
Petr Šabata 81d24c
WantedBy=multi-user.target