15 lines
250 B
SYSTEMD
15 lines
250 B
SYSTEMD
|
[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
|