diff options
Diffstat (limited to 'script/dev-configure.sh')
-rwxr-xr-x | script/dev-configure.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/dev-configure.sh b/script/dev-configure.sh index 698c7ed9..32393adc 100755 --- a/script/dev-configure.sh +++ b/script/dev-configure.sh @@ -1,11 +1,14 @@ #!/bin/bash +set -ex + SCRIPT_FOLDER="`dirname \"$0\"`" REPO_FOLDER="${SCRIPT_FOLDER}/../" GARAGE_DEBUG="${REPO_FOLDER}/target/debug/" GARAGE_RELEASE="${REPO_FOLDER}/target/release/" PATH="${GARAGE_DEBUG}:${GARAGE_RELEASE}:$PATH" +sleep 5 until garage status 2>&1|grep -q Healthy ; do echo "cluster starting..." sleep 1 |