⚗️ Chore: Improve logging message and test actions

This commit is contained in:
James Musselman 2024-07-02 14:21:36 -05:00
parent 25f759e407
commit 270fed9c0c
Signed by: Musselman
GPG key ID: 1DAEFF35ECB5D6DB

View file

@ -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