diff options
author | Wladimir J. van der Laan <laanwj@protonmail.com> | 2019-10-08 11:38:29 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@protonmail.com> | 2019-10-08 11:38:44 +0200 |
commit | 99cebc922cba1590ea663d6ef3109c0cf2960b9d (patch) | |
tree | 6e095adcfb8c16dbf4afbe8b33cc27e140349d3b /contrib/init/bitcoind.openrcconf | |
parent | 34919e00333f0e85c19819d18fd53ae5c7ff8855 (diff) | |
parent | 7fb7acfc206b4bf8c296d72b66f3bd4fe342fd87 (diff) |
Merge #16569: Increase init file stop timeout
7fb7acfc206b4bf8c296d72b66f3bd4fe342fd87 Set init stop timeout to 10 min (setpill)
Pull request description:
`bitcoind` can take a long time to flush its db cache to disk upon
shutdown. Systemd sends a `SIGKILL` after a timeout, causing unclean
shutdowns and triggering a long "Rolling forward" at the next startup.
Disabling the timeout should prevent this from happening, and does not
break systemd's `restart` logic.
Addresses #13736.
ACKs for top commit:
instagibbs:
utACK https://github.com/bitcoin/bitcoin/pull/16569/commits/7fb7acfc206b4bf8c296d72b66f3bd4fe342fd87
Tree-SHA512: 16e0ce5a9ecf0628f8d93d68db3f5a78ab36021d9bede05a90c84f144db2e87e17707a6eb910cb7c018c265ce2c81d43de2988bd79e4a2d8554515db8fb5aa36
Diffstat (limited to 'contrib/init/bitcoind.openrcconf')
-rw-r--r-- | contrib/init/bitcoind.openrcconf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/init/bitcoind.openrcconf b/contrib/init/bitcoind.openrcconf index f70e25cb5f..c8a22a08d9 100644 --- a/contrib/init/bitcoind.openrcconf +++ b/contrib/init/bitcoind.openrcconf @@ -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 |