]> Sergey Matveev's repositories - public-inbox.git/commitdiff
examples/*@.service: wait one day for graceful shutdown
authorEric Wong <e@80x24.org>
Sun, 19 Jun 2016 09:59:31 +0000 (09:59 +0000)
committerEric Wong <e@80x24.org>
Sun, 19 Jun 2016 09:59:31 +0000 (09:59 +0000)
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
examples/public-inbox-nntpd@.service

index 6222de59153a91eed14507239da4e0342229228b..4efea2ad0bae51dcbabefacdaf4238374b454f61 100644 (file)
@@ -23,7 +23,7 @@ KillSignal = SIGQUIT
 User = nobody
 Group = nogroup
 ExecReload = /bin/kill -HUP $MAINPID
-TimeoutStopSec = 3600
+TimeoutStopSec = 86400
 KillMode = process
 
 [Install]
index 3e203e0bfbce0e3a7c7bbe5db9bd865a225e5264..bdd97341d0b705d06c9ec9aab480fd4f2cb114a4 100644 (file)
@@ -25,7 +25,7 @@ KillSignal = SIGQUIT
 User = nobody
 Group = nogroup
 ExecReload = /bin/kill -HUP $MAINPID
-TimeoutStopSec = 3600
+TimeoutStopSec = 86400
 KillMode = process
 
 [Install]