diff options
| author | setpill <[email protected]> | 2019-08-08 11:56:45 +0200 |
|---|---|---|
| committer | setpill <[email protected]> | 2019-09-06 17:03:04 +0200 |
| commit | 7fb7acfc206b4bf8c296d72b66f3bd4fe342fd87 (patch) | |
| tree | 23df65276b26eaf8d91b1a77d0984b21f0d1e287 /contrib/init/bitcoind.init | |
| parent | Merge #16530: doc: Fix grammar and punctuation in developer notes (diff) | |
| download | discoin-7fb7acfc206b4bf8c296d72b66f3bd4fe342fd87.tar.xz discoin-7fb7acfc206b4bf8c296d72b66f3bd4fe342fd87.zip | |
Set init stop timeout to 10 min
`bitcoind` can take a long time to flush its db cache to disk upon
shutdown. Most init files send a `SIGKILL` after a timeout of 1 minute,
causing unclean shutdowns and triggering a long "Rolling forward" at the
next startup. Increasing this timeout to 10 minutes should reduce how
often this occurs, especially during IBD.
fixup! Set ProtectHome in systemd service file
Diffstat (limited to 'contrib/init/bitcoind.init')
| -rw-r--r-- | contrib/init/bitcoind.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/init/bitcoind.init b/contrib/init/bitcoind.init index 0c95baf3a..19e1f76d0 100644 --- a/contrib/init/bitcoind.init +++ b/contrib/init/bitcoind.init @@ -39,7 +39,7 @@ start() { stop() { echo -n $"Stopping $prog: " - killproc $prog + killproc $prog -t600 RETVAL=$? echo [ $RETVAL -eq 0 ] && rm -f $lockfile |