about summary refs log tree commit homepage
path: root/examples/public-inbox-imapd.socket
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-08-23 07:49:18 +0000
committerEric Wong <e@yhbt.net>2020-08-25 02:47:21 +0000
commit14451d6ce4a27e9fd5f16fa655f6745ca8c87920 (patch)
treee29b465d9441ad008382b3f9c7643a37389293ee /examples/public-inbox-imapd.socket
parent68dc097dc9fed5affe5ffadc6decc3a4b11392a8 (diff)
downloadpublic-inbox-14451d6ce4a27e9fd5f16fa655f6745ca8c87920.tar.gz
We've got examples for all the other daemons, too!
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