summaryrefslogtreecommitdiff
path: root/recipes-connectivity/openssh/openssh/sshd@.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/openssh/openssh/sshd@.service')
-rw-r--r--recipes-connectivity/openssh/openssh/sshd@.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-connectivity/openssh/openssh/sshd@.service b/recipes-connectivity/openssh/openssh/sshd@.service
new file mode 100644
index 0000000..9d83dfb
--- /dev/null
+++ b/recipes-connectivity/openssh/openssh/sshd@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=OpenSSH Per-Connection Daemon
+Wants=sshdgenkeys.service
+After=sshdgenkeys.service
+
+[Service]
+Environment="SSHD_OPTS="
+EnvironmentFile=-/etc/default/ssh
+ExecStart=-@SBINDIR@/sshd -i $SSHD_OPTS
+ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID
+StandardInput=socket
+StandardError=syslog
+KillMode=process