core/openssh/sshd.service

18 lines
411 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
2014-10-08 23:55:50 +08:00
After=network.target
2012-06-24 21:34:29 +08:00
[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.