Browse Source

prevent restart of bitcoin container if bitcoind fails

use-env-var-docker
kenshin-samourai 4 years ago
parent
commit
be4a345f17
  1. 2
      docker/my-dojo/bitcoin/restart.sh

2
docker/my-dojo/bitcoin/restart.sh

@ -44,7 +44,7 @@ if [ "$COMMON_BTC_NETWORK" == "testnet" ]; then
bitcoind_options+=(-testnet)
fi
bitcoind "${bitcoind_options[@]}"
bitcoind "${bitcoind_options[@]}" || true
# Keep the container up
while true

Loading…
Cancel
Save