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=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham 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 8A4002018B for ; Sun, 19 Jun 2016 10:20:57 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 2/2] examples/*@.service: wait one day for graceful shutdown Date: Sun, 19 Jun 2016 10:20:52 +0000 Message-Id: <20160619102052.1324-3-e@80x24.org> In-Reply-To: <20160619102052.1324-1-e@80x24.org> References: <20160619102052.1324-1-e@80x24.org> List-Id: Because sometimes folks will want to download gigantic mboxes or make large clones over Tor which are not resume-friendly. Note: the timeout logic in nntpd is somewhat over-aggressive and can break some large slrnpulls. This ought to be easily recoverable on the client-side, though, since it's based on per-message fetches. --- examples/public-inbox-httpd@.service | 2 +- examples/public-inbox-nntpd@.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/public-inbox-httpd@.service b/examples/public-inbox-httpd@.service index 6222de5..4efea2a 100644 --- a/examples/public-inbox-httpd@.service +++ b/examples/public-inbox-httpd@.service @@ -23,7 +23,7 @@ KillSignal = SIGQUIT User = nobody Group = nogroup ExecReload = /bin/kill -HUP $MAINPID -TimeoutStopSec = 3600 +TimeoutStopSec = 86400 KillMode = process [Install] diff --git a/examples/public-inbox-nntpd@.service b/examples/public-inbox-nntpd@.service index 3e203e0..bdd9734 100644 --- a/examples/public-inbox-nntpd@.service +++ b/examples/public-inbox-nntpd@.service @@ -25,7 +25,7 @@ KillSignal = SIGQUIT User = nobody Group = nogroup ExecReload = /bin/kill -HUP $MAINPID -TimeoutStopSec = 3600 +TimeoutStopSec = 86400 KillMode = process [Install]