|
|
@ -32,7 +32,11 @@ required_files="${BITCOIND_CONFIGFILE}" |
|
|
|
start_stop_daemon_args="-u ${BITCOIND_USER} \ |
|
|
|
start_stop_daemon_args="-u ${BITCOIND_USER} \ |
|
|
|
-N ${BITCOIND_NICE} -w 2000" |
|
|
|
-N ${BITCOIND_NICE} -w 2000" |
|
|
|
pidfile="${BITCOIND_PIDFILE}" |
|
|
|
pidfile="${BITCOIND_PIDFILE}" |
|
|
|
retry=60 |
|
|
|
|
|
|
|
|
|
|
|
# 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") |
|
|
|
|
|
|
|
retry="${BITCOIND_SIGTERM_TIMEOUT}" |
|
|
|
|
|
|
|
|
|
|
|
depend() { |
|
|
|
depend() { |
|
|
|
need localmount net |
|
|
|
need localmount net |
|
|
|