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