From 1915742379b5d0fd40a5da7fe331b365a62e3607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Thu, 3 May 2018 18:33:20 +0200 Subject: [PATCH] Update backup.sh --- containers/zammad-postgresql/backup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/containers/zammad-postgresql/backup.sh b/containers/zammad-postgresql/backup.sh index 02cf4b4..3a34381 100644 --- a/containers/zammad-postgresql/backup.sh +++ b/containers/zammad-postgresql/backup.sh @@ -2,10 +2,11 @@ set -e -: "${ZAMMAD_RAILSSERVER_HOST:=zammad-railsserver}" +: "${ZAMMAD_RAILSSERVER_HOST:=zammad-railsserver-host}" +: "${ZAMMAD_RAILSSERVER_PORT:=3000l}" function check_railsserver_available { - until (echo > /dev/tcp/${ZAMMAD_RAILSSERVER_HOST}/3000) &> /dev/null; do + until (echo > /dev/tcp/${ZAMMAD_RAILSSERVER_HOST}/${ZAMMAD_RAILSSERVER_PORT}) &> /dev/null; do echo "waiting for railsserver to be ready..." sleep 60 done