aboutsummaryrefslogtreecommitdiffstats
path: root/sshd.service
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-06 04:30:10 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:41 +0200
commit415d616004de7a6d999a38d93bbbc5a34b460751 (patch)
tree3d0709fda1f74495427ad16b5f3951b05cdf50d2 /sshd.service
downloadpkgbuilds-415d616004de7a6d999a38d93bbbc5a34b460751.tar.xz
openssh → openssh-princ-fp
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 0000000..55ed953
--- /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.