aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssh/openssh-6.2p2/sshd.socket
diff options
context:
space:
mode:
authorMuhammad Shakeel <muhammad_shakeel@mentor.com>2013-09-04 11:04:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-10 23:13:18 +0100
commit6e6445d487c033913a29763f8e3a7a339d5b612d (patch)
treed4791546bb483195d7a07d1cd6cd12e77773d4e2 /meta/recipes-connectivity/openssh/openssh-6.2p2/sshd.socket
parent013cc8b6397c29e8f0d7adf63d8e06caab778da2 (diff)
downloadopenembedded-core-contrib-6e6445d487c033913a29763f8e3a7a339d5b612d.tar.gz
openssh: Add systemd support
-Remove dependency on meta-systemd Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssh/openssh-6.2p2/sshd.socket')
-rw-r--r--meta/recipes-connectivity/openssh/openssh-6.2p2/sshd.socket11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh-6.2p2/sshd.socket b/meta/recipes-connectivity/openssh/openssh-6.2p2/sshd.socket
new file mode 100644
index 0000000000..d19ab2ac43
--- /dev/null
+++ b/meta/recipes-connectivity/openssh/openssh-6.2p2/sshd.socket
@@ -0,0 +1,11 @@
+[Unit]
+Conflicts=sshd.service
+
+[Socket]
+ExecStartPre=@BASE_BINDIR@/mkdir -p /var/run/sshd
+ListenStream=22
+Accept=yes
+
+[Install]
+WantedBy=sockets.target
+Also=sshdgenkeys.service