From 4f849ddf53c71fa7ab9ac412b769be232936cbcc Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 4 Sep 2020 14:58:02 +0200 Subject: [PATCH] change comments --- setup-scripts/sia-restart.sh | 6 ++---- setup-scripts/sia-stop.sh | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/setup-scripts/sia-restart.sh b/setup-scripts/sia-restart.sh index 7316444b..967638ef 100755 --- a/setup-scripts/sia-restart.sh +++ b/setup-scripts/sia-restart.sh @@ -2,13 +2,11 @@ set -e # exit on first error -cwd - -# get current working directory (pwd doesn't cut it) +# get running script directory cwd=$(cd -P -- "$(dirname -- "$0")" && pwd -P) # run the sia-stop script . ${cwd}/sia-stop.sh # start sia -docker-compose up -d sia \ No newline at end of file +docker-compose up -d sia diff --git a/setup-scripts/sia-stop.sh b/setup-scripts/sia-stop.sh index 64dce4dd..1bbe2ce5 100755 --- a/setup-scripts/sia-stop.sh +++ b/setup-scripts/sia-stop.sh @@ -18,4 +18,4 @@ docker-compose stop health-check countdown 300 # now stop sia process -docker-compose stop sia \ No newline at end of file +docker-compose stop sia