summaryrefslogtreecommitdiffstats
path: root/abs/core/openssh/sshd.service
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:48:41 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:48:41 (GMT)
commit3db4697296afcefb5b9d5d4b8acc462466192ab5 (patch)
treecc89cb07cb8d3189a8172a5f3dc3030f7374c8bf /abs/core/openssh/sshd.service
parentdf0abbd835cdc168cba9da94c72121f39232ce8a (diff)
downloadlinhes_pkgbuild-3db4697296afcefb5b9d5d4b8acc462466192ab5.zip
linhes_pkgbuild-3db4697296afcefb5b9d5d4b8acc462466192ab5.tar.gz
linhes_pkgbuild-3db4697296afcefb5b9d5d4b8acc462466192ab5.tar.bz2
openssh: 6.0p1
Diffstat (limited to 'abs/core/openssh/sshd.service')
-rw-r--r--abs/core/openssh/sshd.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/core/openssh/sshd.service b/abs/core/openssh/sshd.service
new file mode 100644
index 0000000..7c8f883
--- /dev/null
+++ b/abs/core/openssh/sshd.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=OpenSSH Daemon
+After=sshdgenkeys.service
+
+[Service]
+ExecStart=/usr/sbin/sshd -D
+ExecReload=/bin/kill -HUP $MAINPID
+KillMode=process
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
+Also=sshdgenkeys.service
+
+# Note that this is the service file for running a single SSH server for all
+# incoming connections, suitable only for systems with a large amount of SSH
+# traffic. In almost all other cases it is a better idea to use sshd.socket +
+# sshd@.service (i.e. the on-demand spawning version for one instance per
+# connection).