]> Sergey Matveev's repositories - public-inbox.git/blobdiff - examples/public-inbox-nntps.socket
doc: update nntpd with NNTPS and STARTTLS examples
[public-inbox.git] / examples / public-inbox-nntps.socket
diff --git a/examples/public-inbox-nntps.socket b/examples/public-inbox-nntps.socket
new file mode 100644 (file)
index 0000000..fa67819
--- /dev/null
@@ -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