summaryrefslogtreecommitdiffstats
path: root/roles/webmail/files/etc/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'roles/webmail/files/etc/systemd')
-rw-r--r--roles/webmail/files/etc/systemd/system/stunnel4@ldap.socket11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/webmail/files/etc/systemd/system/stunnel4@ldap.socket b/roles/webmail/files/etc/systemd/system/stunnel4@ldap.socket
new file mode 100644
index 0000000..72aa82c
--- /dev/null
+++ b/roles/webmail/files/etc/systemd/system/stunnel4@ldap.socket
@@ -0,0 +1,11 @@
+[Unit]
+Description=SSL tunnel for network daemons (instance %i)
+Documentation=man:stunnel4(8)
+
+[Socket]
+BindToDevice=lo
+ListenStream=127.0.0.1:389
+NoDelay=yes
+
+[Install]
+WantedBy=sockets.target