diff options
author | Eric Wong <e@80x24.org> | 2016-06-07 12:57:42 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-06-07 12:57:42 +0000 |
commit | 3f779258173530ca88f31e1dc5332f951d2c44cd (patch) | |
tree | d7e9d0884d1787068627c411577cb5ba99a5c8c9 /examples/unsubscribe-psgi@.service | |
parent | e2adc947edc895da70a3a86ff6e9e13e5693be13 (diff) | |
parent | 852df982d88dcfaa49a1398cd6ef30973bcaaa09 (diff) | |
download | public-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@.service')
-rw-r--r-- | examples/unsubscribe-psgi@.service | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/unsubscribe-psgi@.service b/examples/unsubscribe-psgi@.service new file mode 100644 index 00000000..2dc4270f --- /dev/null +++ b/examples/unsubscribe-psgi@.service @@ -0,0 +1,20 @@ +# ==> /etc/systemd/system/unsubscribe-psgi@.service <== +# The '@' is to allow multiple simultaneous services to start +# and share the same socket so new code can be cycled in +# without downtime + +[Unit] +Description = unsubscribe PSGI %i +Wants = unsubscribe-psgi.socket +After = unsubscribe-psgi.socket + +[Service] +# any PSGI server ought to work, +# but public-inbox-httpd supports socket activation like unsubscribe.milter +ExecStart = /usr/local/bin/public-inbox-httpd -W0 /etc/unsubscribe.psgi +Sockets = unsubscribe-psgi.socket +# we need to modify the mlmmj spool +User = mlmmj + +[Install] +WantedBy = multi-user.target |