diff options
Diffstat (limited to 'sshd.service')
-rw-r--r-- | sshd.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sshd.service b/sshd.service new file mode 100644 index 000000000000..a893724f1767 --- /dev/null +++ b/sshd.service @@ -0,0 +1,14 @@ +[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 |