X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=examples%2Funsubscribe-psgi%40.service;h=c8721fbe1d1bee5247ad721e656a5524dace2a72;hb=21fcd8a37c82c1ef654d402cf592f0c9d803aa26;hp=acc29e8e64c648a448ac4433fd587a17da561f78;hpb=37bf2db81bbbe114d7fc5a00e30d3d5a6fa74de5;p=public-inbox.git diff --git a/examples/unsubscribe-psgi@.service b/examples/unsubscribe-psgi@.service index acc29e8e..c8721fbe 100644 --- a/examples/unsubscribe-psgi@.service +++ b/examples/unsubscribe-psgi@.service @@ -12,7 +12,12 @@ After = unsubscribe-psgi.socket # 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 + +# NonBlocking is REQUIRED to avoid a race condition if running +# simultaneous services +NonBlocking = true Sockets = unsubscribe-psgi.socket + # we need to modify the mlmmj spool User = mlmmj KillMode = process