aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2018-11-05 11:23:55 +1000
committerteor <teor@torproject.org>2018-11-05 11:49:19 +1000
commitbd0e38dcfeb63303af83069e4e1e4c70982c56d7 (patch)
treeb9a6814c9d7c1ff36ad5a825d7b10035b3810f00 /contrib
parent0d6d3e1f265609e8e74bf970a5d578300c465617 (diff)
downloadtor-bd0e38dcfeb63303af83069e4e1e4c70982c56d7.tar.gz
tor-bd0e38dcfeb63303af83069e4e1e4c70982c56d7.zip
systemd: allow tor some time to shut down after ShutdownWaitLength expires
This commit upstreams the Debian package setting of 60 seconds for TimeoutStopSec, but applies it to startup and shutdown. Part of 28113.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/dist/tor.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/dist/tor.service.in b/contrib/dist/tor.service.in
index 9c1a255b2e..e857a8664e 100644
--- a/contrib/dist/tor.service.in
+++ b/contrib/dist/tor.service.in
@@ -15,7 +15,7 @@ ExecStartPre=@BINDIR@/tor -f @CONFDIR@/torrc --verify-config
ExecStart=@BINDIR@/tor -f @CONFDIR@/torrc
ExecReload=/bin/kill -HUP ${MAINPID}
KillSignal=SIGINT
-TimeoutSec=30
+TimeoutSec=60
Restart=on-failure
WatchdogSec=1m
LimitNOFILE=32768