We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b401b09 commit 737feadCopy full SHA for 737fead
contrib/init/bitcoind.openrc
@@ -69,7 +69,8 @@ start_pre() {
69
70
checkconfig()
71
{
72
- if ! grep -qs '^rpcpassword=' "${BITCOIND_CONFIGFILE}" ; then
+ if grep -qs '^rpcuser=' "${BITCOIND_CONFIGFILE}" && \
73
+ ! grep -qs '^rpcpassword=' "${BITCOIND_CONFIGFILE}" ; then
74
eerror ""
75
eerror "ERROR: You must set a secure rpcpassword to run bitcoind."
76
eerror "The setting must appear in ${BITCOIND_CONFIGFILE}"
0 commit comments