fix rand pw length value
This commit is contained in:
parent
6eeae74519
commit
0584911403
|
@ -3,7 +3,7 @@
|
||||||
export HOME="/var/lib/bitcoind"
|
export HOME="/var/lib/bitcoind"
|
||||||
|
|
||||||
# gen random pw for rpc server
|
# gen random pw for rpc server
|
||||||
RANDOMPW=$(openssl rand -hex 20)
|
RANDOMPW=$(openssl rand -hex 10)
|
||||||
|
|
||||||
cat <<EOF > $HOME/bitcoin.conf
|
cat <<EOF > $HOME/bitcoin.conf
|
||||||
rpcuser=${BITCOIND_RPCUSER:-rpcuser}
|
rpcuser=${BITCOIND_RPCUSER:-rpcuser}
|
||||||
|
|
Loading…
Reference in New Issue