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
15 Sockets = unsubscribe-psgi.socket
16 # we need to modify the mlmmj spool
21 WantedBy = multi-user.target