summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Hammill <mike@kth.se>2012-01-10 00:35:12 +0100
committerMike Hammill <mike@kth.se>2012-01-10 00:35:12 +0100
commit320e86b3030512a041890ca1349735601434b979 (patch)
tree52d84ef237d935f7ea94c777833a5fa46af62e21 /net-misc/openssh/files/sshd.socket
parentAdd Weaver Projects' "update" script. (diff)
downloadmhammill-320e86b3030512a041890ca1349735601434b979.tar.gz
mhammill-320e86b3030512a041890ca1349735601434b979.tar.bz2
mhammill-320e86b3030512a041890ca1349735601434b979.zip
Modernize openssh ebuild already containing S. Wilkinson's patch
Modernization includes updating options for openrc's new standards. Clean up includes removing unused ebuilds (openssh-5.3p1, and any greater than openssh-5.8_p1) since Simon does not have patches for those.
Diffstat (limited to 'net-misc/openssh/files/sshd.socket')
-rw-r--r--net-misc/openssh/files/sshd.socket10
1 files changed, 10 insertions, 0 deletions
diff --git a/net-misc/openssh/files/sshd.socket b/net-misc/openssh/files/sshd.socket
new file mode 100644
index 0000000..94b9533
--- /dev/null
+++ b/net-misc/openssh/files/sshd.socket
@@ -0,0 +1,10 @@
+[Unit]
+Description=OpenSSH Server Socket
+Conflicts=sshd.service
+
+[Socket]
+ListenStream=22
+Accept=yes
+
+[Install]
+WantedBy=sockets.target