Browse Source

fix btcpay-down for some installs

feature/auto_ssh
nicolas.dorier 6 years ago
parent
commit
4732646cd8
  1. 4
      btcpay-down.sh

4
btcpay-down.sh

@ -3,4 +3,6 @@
. /etc/profile.d/btcpay-env.sh . /etc/profile.d/btcpay-env.sh
cd "`dirname $BTCPAY_ENV_FILE`" cd "`dirname $BTCPAY_ENV_FILE`"
docker-compose -f $BTCPAY_DOCKER_COMPOSE down -t "${COMPOSE_HTTP_TIMEOUT:-180}" if ! docker-compose -f $BTCPAY_DOCKER_COMPOSE down -t "${COMPOSE_HTTP_TIMEOUT:-180}" 2>/dev/null; then
docker-compose -f $BTCPAY_DOCKER_COMPOSE down
fi

Loading…
Cancel
Save