mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-12 05:32:22 +02:00
contrib/init: fix unused variables in openrc script
This commit is contained in:
@@ -21,7 +21,7 @@ BITCOIND_OPTS="${BITCOIND_OPTS:-${BITCOIN_OPTS}}"
|
|||||||
name="Bitcoin Core Daemon"
|
name="Bitcoin Core Daemon"
|
||||||
description="Bitcoin cryptocurrency P2P network daemon"
|
description="Bitcoin cryptocurrency P2P network daemon"
|
||||||
|
|
||||||
command="/usr/bin/bitcoind"
|
command="${BITCOIND_BIN}"
|
||||||
command_args="-pid=\"${BITCOIND_PIDFILE}\" \
|
command_args="-pid=\"${BITCOIND_PIDFILE}\" \
|
||||||
-conf=\"${BITCOIND_CONFIGFILE}\" \
|
-conf=\"${BITCOIND_CONFIGFILE}\" \
|
||||||
-datadir=\"${BITCOIND_DATADIR}\" \
|
-datadir=\"${BITCOIND_DATADIR}\" \
|
||||||
@@ -30,6 +30,7 @@ command_args="-pid=\"${BITCOIND_PIDFILE}\" \
|
|||||||
|
|
||||||
required_files="${BITCOIND_CONFIGFILE}"
|
required_files="${BITCOIND_CONFIGFILE}"
|
||||||
start_stop_daemon_args="-u ${BITCOIND_USER} \
|
start_stop_daemon_args="-u ${BITCOIND_USER} \
|
||||||
|
-g ${BITCOIND_GROUP} \
|
||||||
-N ${BITCOIND_NICE} -w 2000"
|
-N ${BITCOIND_NICE} -w 2000"
|
||||||
pidfile="${BITCOIND_PIDFILE}"
|
pidfile="${BITCOIND_PIDFILE}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user