Skip to content

Commit d837bb3

Browse files
committed
contrib/init: fix unused variables in openrc script
1 parent 683e05a commit d837bb3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎contrib/init/bitcoind.openrc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ BITCOIND_OPTS="${BITCOIND_OPTS:-${BITCOIN_OPTS}}"
2121
name="Bitcoin Core Daemon"
2222
description="Bitcoin cryptocurrency P2P network daemon"
2323

24-
command="/usr/bin/bitcoind"
24+
command="${BITCOIND_BIN}"
2525
command_args="-pid=\"${BITCOIND_PIDFILE}\" \
2626
-conf=\"${BITCOIND_CONFIGFILE}\" \
2727
-datadir=\"${BITCOIND_DATADIR}\" \
@@ -30,6 +30,7 @@ command_args="-pid=\"${BITCOIND_PIDFILE}\" \
3030

3131
required_files="${BITCOIND_CONFIGFILE}"
3232
start_stop_daemon_args="-u ${BITCOIND_USER} \
33+
-g ${BITCOIND_GROUP} \
3334
-N ${BITCOIND_NICE} -w 2000"
3435
pidfile="${BITCOIND_PIDFILE}"
3536

0 commit comments

Comments
 (0)