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