openssh/sshd.service

19 lines
465 B
SYSTEMD
Raw Normal View History

2011-04-23 07:13:06 +00:00
[Unit]
Description=OpenSSH server daemon
Documentation=man:sshd(8) man:sshd_config(5)
After=network.target sshd-keygen.target
Wants=sshd-keygen.target
2011-04-23 07:13:06 +00:00
[Service]
Type=notify
EnvironmentFile=-/etc/sysconfig/sshd
ExecStartPre=/usr/libexec/openssh/sshd-pre
ExecStart=/usr/sbin/sshd -D $OPTIONS -f /run/openssh/sshd_config
ExecReload=/usr/libexec/openssh/sshd-pre reload $MAINPID
KillMode=process
Restart=on-failure
RestartSec=42s
2011-04-23 07:13:06 +00:00
[Install]
WantedBy=multi-user.target