aboutsummaryrefslogtreecommitdiffstats
path: root/clfs/units/sshd.service
diff options
context:
space:
mode:
Diffstat (limited to 'clfs/units/sshd.service')
-rw-r--r--clfs/units/sshd.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/clfs/units/sshd.service b/clfs/units/sshd.service
new file mode 100644
index 0000000..e4d6c4f
--- /dev/null
+++ b/clfs/units/sshd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=OpenSSH Daemon
+
+[Service]
+ExecStart=/usr/sbin/sshd -D
+ExecReload=/bin/kill -HUP $MAINPID
+KillMode=process
+Restart=always
+
+[Install]
+WantedBy=multi-user.target