summarylogtreecommitdiffstats
path: root/sshd.service
diff options
context:
space:
mode:
authorTimothée Ravier2013-11-03 19:42:41 +0100
committerTimothée Ravier2013-11-03 19:42:41 +0100
commita78a337a56844825ae9d9df73bd467bba148ee2a (patch)
treee963c65e4b21407d31129757f5fab8939327e6b1 /sshd.service
downloadaur-a78a337a56844825ae9d9df73bd467bba148ee2a.tar.gz
General update: SELinux userspace & pkg renaming
Diffstat (limited to 'sshd.service')
-rw-r--r--sshd.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/sshd.service b/sshd.service
new file mode 100644
index 000000000000..55ed95322da7
--- /dev/null
+++ b/sshd.service
@@ -0,0 +1,17 @@
+[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
+
+# 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.