diff --git a/containers/zammad-railsserver/docker-entrypoint.sh b/containers/zammad-railsserver/docker-entrypoint.sh index 82b695a..7e84d61 100644 --- a/containers/zammad-railsserver/docker-entrypoint.sh +++ b/containers/zammad-railsserver/docker-entrypoint.sh @@ -3,8 +3,8 @@ if [ "$1" = 'zammad-railsserver' ]; then # wait for postgres process coming up on zammad-postgresql - until echo > /dev/tcp/zammad-postgresql/5432; do - echo "waiting for postgres to be ready..." + until (echo > /dev/tcp/zammad-postgresql/5432) &> /dev/null; do + echo "zammad waiting for postgresql server to be ready..." sleep 5 done diff --git a/containers/zammad-scheduler/docker-entrypoint.sh b/containers/zammad-scheduler/docker-entrypoint.sh index 79a4ddb..97d2238 100644 --- a/containers/zammad-scheduler/docker-entrypoint.sh +++ b/containers/zammad-scheduler/docker-entrypoint.sh @@ -2,8 +2,8 @@ if [ "$1" = 'zammad-scheduler' ]; then # wait for zammad process coming up - until echo > /dev/tcp/zammad-railsserver/3000; do - echo "waiting for zammad to be ready..." + until (echo > /dev/tcp/zammad-railsserver/3000) &> /dev/null; do + echo "scheduler waiting for zammads railsserver to be ready..." sleep 2 done diff --git a/containers/zammad-websocket/docker-entrypoint.sh b/containers/zammad-websocket/docker-entrypoint.sh index 713b010..4cf5493 100644 --- a/containers/zammad-websocket/docker-entrypoint.sh +++ b/containers/zammad-websocket/docker-entrypoint.sh @@ -2,8 +2,8 @@ if [ "$1" = 'zammad-websocket' ]; then # wait for zammad process coming up - until echo > /dev/tcp/zammad-railsserver/3000; do - echo "waiting for zammad to be ready..." + until (echo > /dev/tcp/zammad-railsserver/3000) &> /dev/null; do + echo "websocket server waiting for zammads railsserver to be ready..." sleep 5 done