core/openssh/sshd.service

17 lines
390 B
SYSTEMD
Raw Normal View History

2012-06-24 21:34:29 +08:00
[Unit]
Description=OpenSSH Daemon
2012-12-15 09:22:06 +08:00
Wants=sshdgenkeys.service
2012-06-24 21:34:29 +08:00
After=sshdgenkeys.service
[Service]
ExecStart=/usr/sbin/sshd -D
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target
2012-12-15 09:22:06 +08:00
# This service file runs an SSH daemon that forks for each incoming connection.
# If you prefer to spawn on-demand daemons, use sshd.socket and sshd@.service.