]> Sergey Matveev's repositories - public-inbox.git/commitdiff
examples/unsubscribe-psgi@.service: disable worker processes
authorEric Wong <e@80x24.org>
Sat, 21 May 2016 04:19:03 +0000 (04:19 +0000)
committerEric Wong <e@80x24.org>
Sat, 21 May 2016 04:19:03 +0000 (04:19 +0000)
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

index f588886b62e76203da25b6c983025829d8f431d9..2dc4270f0f5a8b7225f322bbb9ae21da69ec49d6 100644 (file)
@@ -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