diff options
author | Eric Wong <e@80x24.org> | 2016-05-21 04:19:03 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-05-21 04:19:03 +0000 |
commit | f11a21adeafcad7b9dabb9d3f5552cc7d2d87951 (patch) | |
tree | ddce03f9035d02459dd5953df027cd1816161a51 /examples | |
parent | 2ec1ac4a259c87ad453195fa405c6aa7d99d7cb7 (diff) | |
download | public-inbox-f11a21adeafcad7b9dabb9d3f5552cc7d2d87951.tar.gz |
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.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/unsubscribe-psgi@.service | 2 |
1 files changed, 1 insertions, 1 deletions
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 |