about summary refs log tree commit homepage
path: root/examples/public-inbox-imapd.socket
diff options
context:
space:
mode:
Diffstat (limited to 'examples/public-inbox-imapd.socket')
-rw-r--r--examples/public-inbox-imapd.socket12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/public-inbox-imapd.socket b/examples/public-inbox-imapd.socket
new file mode 100644
index 00000000..fcd924fd
--- /dev/null
+++ b/examples/public-inbox-imapd.socket
@@ -0,0 +1,12 @@
+# ==> /etc/systemd/system/public-inbox-imapd.socket <==
+[Unit]
+Description = public-inbox-imapd socket
+
+[Socket]
+ListenStream = 0.0.0.0:143
+BindIPv6Only = ipv6-only
+ListenStream = [::]:143
+Service = public-inbox-imapd@1.service
+
+[Install]
+WantedBy = sockets.target