jobcore/openssh/sshd.service

15 lines
250 B
SYSTEMD
Raw Normal View History

2023-08-11 13:19:56 +02:00
[Unit]
Description=OpenSSH Daemon
Wants=sshdgenkeys.service
After=sshdgenkeys.service
After=network.target
[Service]
ExecStart=/usr/bin/sshd -D
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target