From 270fed9c0c9c185a97885def4e036672aea0514e Mon Sep 17 00:00:00 2001 From: Musselman Date: Tue, 2 Jul 2024 14:21:36 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9A=97=EF=B8=8F=20Chore:=20Improve=20logging?= =?UTF-8?q?=20message=20and=20test=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wait-for-postgres.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wait-for-postgres.sh b/wait-for-postgres.sh index def3f6e..d02ff93 100755 --- a/wait-for-postgres.sh +++ b/wait-for-postgres.sh @@ -6,9 +6,9 @@ shift 2 cmd="$@" until nc -z -v -w1 "$host" "$port"; do - >&2 echo "PostgreSQL is unavailable - sleeping" - sleep 5 + >&2 echo "PostgreSQL is unavailable - sleeping" + sleep 5 done ->&2 echo "PostgreSQL is up - executing command" +>&2 echo "PostgreSQL is up - executing startup sequence" exec $cmd