X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=examples%2Funsubscribe-psgi%40.service;h=c8721fbe1d1bee5247ad721e656a5524dace2a72;hp=2dc4270f0f5a8b7225f322bbb9ae21da69ec49d6;hb=95bdac7f09c69036efed537a4d03d5bdd2ae4eb6;hpb=f11a21adeafcad7b9dabb9d3f5552cc7d2d87951 diff --git a/examples/unsubscribe-psgi@.service b/examples/unsubscribe-psgi@.service index 2dc4270f..c8721fbe 100644 --- a/examples/unsubscribe-psgi@.service +++ b/examples/unsubscribe-psgi@.service @@ -12,9 +12,15 @@ 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 [Install] WantedBy = multi-user.target