Browse Source

Merge branch 'fix/selfupdate'

feature/more-args
nicolas.dorier 6 years ago
parent
commit
bde75d82bd
  1. 7
      btcpay-update.sh

7
btcpay-update.sh

@ -15,7 +15,12 @@ if [[ $BTCPAY_DOCKER_COMPOSE != *docker-compose.generated.yml ]]; then
fi
cd "$BTCPAY_BASE_DIRECTORY/btcpayserver-docker"
git pull --force
if [[ "$1" != "--skip-git-pull" ]]; then
git pull --force
exec "btcpay-update.sh" --skip-git-pull
return
fi
if ! [ -f "/etc/docker/daemon.json" ]; then
echo "{

Loading…
Cancel
Save