Merge 99cebc922c into merged_master (Bitcoin PR #16569)

This commit is contained in:
Andrew Poelstra 2020-11-09 21:20:34 +00:00
commit e9bafa83f9
4 changed files with 4 additions and 3 deletions

View file

@ -16,7 +16,7 @@ expect fork
respawn
respawn limit 5 120
kill timeout 60
kill timeout 600
pre-start script
# this will catch non-existent config files

View file

@ -39,7 +39,7 @@ start() {
stop() {
echo -n $"Stopping $prog: "
killproc $prog
killproc $prog -t600
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f $lockfile

View file

@ -30,4 +30,4 @@
# Note that this will be mapped as argument to start-stop-daemon's
# '--retry' option, which means you can specify a retry schedule
# here. For more information see man 8 start-stop-daemon.
BITCOIND_SIGTERM_TIMEOUT=60
BITCOIND_SIGTERM_TIMEOUT=600

View file

@ -29,6 +29,7 @@ ExecStartPre=/bin/chgrp bitcoin /etc/bitcoin
Type=forking
PIDFile=/run/bitcoind/bitcoind.pid
Restart=on-failure
TimeoutStopSec=600
# Directory creation and permissions
####################################