X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=examples%2Fpublic-inbox-httpd%40.service;h=e811da40497a402e88f1b58a614a8519e7980434;hb=8862c33ae93eea1af6246cd3c7a81e0a122186bf;hp=56117ef09368405ac21683d62b33d14edfda0c63;hpb=193e1b8b08de72ae1675260436aab10e2bb44e99;p=public-inbox.git diff --git a/examples/public-inbox-httpd@.service b/examples/public-inbox-httpd@.service index 56117ef0..e811da40 100644 --- a/examples/public-inbox-httpd@.service +++ b/examples/public-inbox-httpd@.service @@ -20,7 +20,12 @@ ExecStartPre = /bin/mkdir -p -m 1777 /tmp/.pub-inline ExecStart = /usr/local/bin/public-inbox-httpd \ -1 /var/log/public-inbox/httpd.out.log StandardError = syslog + +# NonBlocking is REQUIRED to avoid a race condition if running +# simultaneous services +NonBlocking = true Sockets = public-inbox-httpd.socket + KillSignal = SIGQUIT User = nobody Group = nogroup