Skip to content


Merge pull request #6401
Browse files Browse the repository at this point in the history
8c44e63 Add BITCOIND_SIGTERM_TIMEOUT to OpenRC init scripts (Florian Schmaus)
  • Loading branch information
laanwj committed Jul 10, 2015
2 parents 7fc25c2 + 8c44e63 commit 6db53b4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion contrib/init/bitcoind.openrc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ required_files="${BITCOIND_CONFIGFILE}"
start_stop_daemon_args="-u ${BITCOIND_USER} \
-N ${BITCOIND_NICE} -w 2000"

# The retry schedule to use when stopping the daemon. Could be either
# a timeout in seconds or multiple signal/timeout pairs (like
# "SIGKILL/180 SIGTERM/300")

depend() {
need localmount net
Expand Down
6 changes: 6 additions & 0 deletions contrib/init/bitcoind.openrcconf
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@
# Additional options (avoid -conf and -datadir, use flags above)

# The timeout in seconds OpenRC will wait for bitcoind to terminate
# after a SIGTERM has been raised.
# 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.

0 comments on commit 6db53b4

Please sign in to comment.