about summary refs log tree commit homepage
path: root/examples/unsubscribe-psgi.socket
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-07 12:57:42 +0000
committerEric Wong <e@80x24.org>2016-06-07 12:57:42 +0000
commit3f779258173530ca88f31e1dc5332f951d2c44cd (patch)
treed7e9d0884d1787068627c411577cb5ba99a5c8c9 /examples/unsubscribe-psgi.socket
parente2adc947edc895da70a3a86ff6e9e13e5693be13 (diff)
parent852df982d88dcfaa49a1398cd6ef30973bcaaa09 (diff)
downloadpublic-inbox-3f779258173530ca88f31e1dc5332f951d2c44cd.tar.gz
* unsubscribe:
  unsubscribe.milter: use default postfork dispatcher
  unsubscribe: prevent decrypt from showing random crap
  examples/unsubscribe-psgi@.service: disable worker processes
  unsubscribe: bad URL fixup
  unsubscribe: get off mah lawn^H^H^Hist
Diffstat (limited to 'examples/unsubscribe-psgi.socket')
-rw-r--r--examples/unsubscribe-psgi.socket11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/unsubscribe-psgi.socket b/examples/unsubscribe-psgi.socket
new file mode 100644
index 00000000..e7ab797b
--- /dev/null
+++ b/examples/unsubscribe-psgi.socket
@@ -0,0 +1,11 @@
+# ==> /etc/systemd/system/unsubscribe-psgi.socket <==
+[Unit]
+Description = unsubscribe PSGI socket
+
+[Socket]
+# Forward to the PSGI using nginx or similar
+ListenStream = /run/unsubscribe-psgi.sock
+Service = unsubscribe-psgi@1.service
+
+[Install]
+WantedBy = sockets.target