From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-5.4 required=3.0 tests=ALL_TRUSTED,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RP_MATCHES_RCVD shortcircuit=no autolearn=unavailable autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id AE2271F99C for ; Sat, 21 May 2016 04:24:35 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 3/3] examples/unsubscribe-psgi@.service: disable worker processes Date: Sat, 21 May 2016 04:24:35 +0000 Message-Id: <20160521042435.12800-2-e@80x24.org> In-Reply-To: <20160520213655.19381-1-e@80x24.org> References: <20160520213655.19381-1-e@80x24.org> List-Id: 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 f588886..2dc4270 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