mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2026-01-17 06:24:43 +01:00
Make sure az is installed for fastsync
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
|
||||
: "${AZURE_STORAGE_CONTAINER:=public}"
|
||||
|
||||
if [[ "$AZURE_STORAGE_CONNECTION_STRING" ]] && ! [ -x "$(command -v az)" ]; then
|
||||
echo "You want to upload the utxoset to azure, but az is not installed. See https://docs.microsoft.com/en-us/cli/azure/ to install it."
|
||||
exit
|
||||
fi
|
||||
|
||||
btcpay-down.sh
|
||||
|
||||
for i in /var/lib/docker/volumes/generated_bitcoin_datadir/_data/utxo-snapshot-*; do
|
||||
|
||||
Reference in New Issue
Block a user