update system scripts

This commit is contained in:
Duke Leto
2020-12-08 08:45:23 -05:00
parent 24781a50b4
commit edcc2aec82
4 changed files with 71 additions and 71 deletions

View File

@@ -1,33 +1,33 @@
# /etc/conf.d/bitcoind: config file for /etc/init.d/bitcoind
# /etc/conf.d/hushd: config file for /etc/init.d/hushd
# Config file location
#BITCOIND_CONFIGFILE="/etc/bitcoin/bitcoin.conf"
#HUSHD_CONFIGFILE="/etc/hush/hush.conf"
# What directory to write pidfile to? (created and owned by $BITCOIND_USER)
#BITCOIND_PIDDIR="/var/run/bitcoind"
# What directory to write pidfile to? (created and owned by $HUSHD_USER)
#HUSHD_PIDDIR="/var/run/hushd"
# What filename to give the pidfile
#BITCOIND_PIDFILE="${BITCOIND_PIDDIR}/bitcoind.pid"
#HUSHD_PIDFILE="${HUSHD_PIDDIR}/hushd.pid"
# Where to write bitcoind data (be mindful that the blockchain is large)
#BITCOIND_DATADIR="/var/lib/bitcoind"
# Where to write hushd data (be mindful that the blockchain is large)
#HUSHD_DATADIR="/var/lib/hushd"
# User and group to own bitcoind process
#BITCOIND_USER="bitcoin"
#BITCOIND_GROUP="bitcoin"
# User and group to own hushd process
#HUSHD_USER="hush"
#HUSHD_GROUP="hush"
# Path to bitcoind executable
#BITCOIND_BIN="/usr/bin/bitcoind"
# Path to hushd executable
#HUSHD_BIN="/usr/bin/hushd"
# Nice value to run bitcoind under
#BITCOIND_NICE=0
# Nice value to run hushd under
#HUSHD_NICE=0
# Additional options (avoid -conf and -datadir, use flags above)
BITCOIND_OPTS="-disablewallet"
HUSHD_OPTS="-disablewallet"
# The timeout in seconds OpenRC will wait for bitcoind to terminate
# The timeout in seconds OpenRC will wait for hushd 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.
BITCOIND_SIGTERM_TIMEOUT=60
HUSHD_SIGTERM_TIMEOUT=60