Update backup.sh
This commit is contained in:
parent
d2cb86bd4b
commit
1915742379
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user