Browse Source

Merge pull request #38 from Samourai-Wallet/feat_mydojo_shutdown

dojo shutdown - replace sleep with static delay by docker wait
umbrel
kenshin samourai 6 years ago
committed by GitHub
parent
commit
f8eaae732b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      docker/my-dojo/dojo.sh

8
docker/my-dojo/dojo.sh

@ -58,7 +58,13 @@ stop() {
stop
echo "Preparing shutdown of dojo. Please wait."
sleep 15s
bitcoindDown=$(timeout 3m docker wait bitcoind)
if [ $bitcoindDown -eq 0 ]; then
echo "Bitcoin server stopped."
else
echo "Force shutdown of Bitcoin server."
fi
fi
yamlFiles=$(select_yaml_files)

Loading…
Cancel
Save