From f11a21adeafcad7b9dabb9d3f5552cc7d2d87951 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 21 May 2016 04:19:03 +0000 Subject: [PATCH] examples/unsubscribe-psgi@.service: disable worker processes This unsubscribe PSGI endpoint should never incur enough load to justify using multiple worker processes. If it's unstable and crashes, systemd can automatically restart it. --- examples/unsubscribe-psgi@.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/unsubscribe-psgi@.service b/examples/unsubscribe-psgi@.service index f588886b..2dc4270f 100644 --- a/examples/unsubscribe-psgi@.service +++ b/examples/unsubscribe-psgi@.service @@ -11,7 +11,7 @@ After = unsubscribe-psgi.socket [Service] # any PSGI server ought to work, # but public-inbox-httpd supports socket activation like unsubscribe.milter -ExecStart = /usr/local/bin/public-inbox-httpd /etc/unsubscribe.psgi +ExecStart = /usr/local/bin/public-inbox-httpd -W0 /etc/unsubscribe.psgi Sockets = unsubscribe-psgi.socket # we need to modify the mlmmj spool User = mlmmj -- 2.44.0