From be4a345f17a43d12d0c83183b157ebc1df935167 Mon Sep 17 00:00:00 2001 From: kenshin-samourai Date: Fri, 4 Dec 2020 19:36:55 +0100 Subject: [PATCH] prevent restart of bitcoin container if bitcoind fails --- docker/my-dojo/bitcoin/restart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/my-dojo/bitcoin/restart.sh b/docker/my-dojo/bitcoin/restart.sh index d8cbf98..f4efa2d 100644 --- a/docker/my-dojo/bitcoin/restart.sh +++ b/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