From b6abff40a3d3c4e933ff20ec3b80ef76c2c138bd Mon Sep 17 00:00:00 2001 From: Patrick Hamers Date: Mon, 5 Jul 2021 13:07:32 +0200 Subject: [PATCH] Update update.sh --- update.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/update.sh b/update.sh index 9b43148..e3c76fd 100644 --- a/update.sh +++ b/update.sh @@ -3,7 +3,7 @@ # Usage: update.sh # VARS: -DOCKERIMAGE="proximax/proximax-sirius-chain:v0.6.9-buster" +DOCKERIMAGE="proximax/proximax-sirius-chain:v0.6.9-buster" # This info should be grapped from github PEERS="http://207.180.195.181/peers-p2p.json" DEFAULTPATH="/mnt/proximax/" @@ -33,14 +33,14 @@ for NODEFOLDER in $(find public-mainnet-peer-package* -maxdepth 0 -type d -print sed -i "/^[[:space:]]*image:/ s|:.*|: $DOCKERIMAGE|" docker-compose.yml echo "Download latest peers-p2p" - cd resources + cd resources curl -O $PEERS - cd .. + cd .. echo "Start Docker container" - docker-compose up -d + docker-compose up -d - cd .. + cd .. i=$((i+1)) done @@ -52,4 +52,4 @@ else docker container ls fi -exit 0 \ No newline at end of file +exit 0