1 # ==> /etc/systemd/system/unsubscribe-psgi@.service <==
2 # The '@' is to allow multiple simultaneous services to start
3 # and share the same socket so new code can be cycled in
7 Description = unsubscribe PSGI %i
8 Wants = unsubscribe-psgi.socket
9 After = unsubscribe-psgi.socket
12 # any PSGI server ought to work,
13 # but public-inbox-httpd supports socket activation like unsubscribe.milter
14 ExecStart = /usr/local/bin/public-inbox-httpd -W0 /etc/unsubscribe.psgi
16 # NonBlocking is REQUIRED to avoid a race condition if running
17 # simultaneous services
19 Sockets = unsubscribe-psgi.socket
21 # we need to modify the mlmmj spool
26 WantedBy = multi-user.target