summaryrefslogtreecommitdiffstats
path: root/projectroot/lib/systemd/system/sshd.socket
diff options
context:
space:
mode:
Diffstat (limited to 'projectroot/lib/systemd/system/sshd.socket')
-rw-r--r--projectroot/lib/systemd/system/sshd.socket9
1 files changed, 9 insertions, 0 deletions
diff --git a/projectroot/lib/systemd/system/sshd.socket b/projectroot/lib/systemd/system/sshd.socket
new file mode 100644
index 000000000..fd684073d
--- /dev/null
+++ b/projectroot/lib/systemd/system/sshd.socket
@@ -0,0 +1,9 @@
+[Unit]
+Conflicts=sshd.service
+
+[Socket]
+ListenStream=22
+Accept=yes
+
+[Install]
+WantedBy=sockets.target