openssh/sshd.service

16 lines
334 B
SYSTEMD
Raw Normal View History

2011-04-23 07:13:06 +00:00
[Unit]
Description=OpenSSH server daemon
After=syslog.target network.target auditd.service
2011-04-23 07:13:06 +00:00
[Service]
EnvironmentFile=/etc/sysconfig/sshd
ExecStartPre=/usr/sbin/sshd-keygen
ExecStart=/usr/sbin/sshd -D $OPTIONS
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
RestartSec=42s
2011-04-23 07:13:06 +00:00
[Install]
WantedBy=multi-user.target