8 lines
No EOL
277 B
Bash
8 lines
No EOL
277 B
Bash
#!/bin/bash
|
|
|
|
if [ $ENABLE_RPC == 1 ]
|
|
then
|
|
/app/bitcoind -datadir=/data -server=1 -txindex=$TXINDEX -prune=$PRUNE -rest=1 -rpcallowip=0.0.0.0 -rpcuser="$USER" -rpcpassword="$PASS" -rpcbind=0.0.0.0:8332
|
|
else
|
|
/app/bitcoind -datadir=/data -txindex=$TXINDEX -prune=$PRUNE
|
|
fi |