⚗️ Chore: Improve logging message and test actions
This commit is contained in:
parent
25f759e407
commit
270fed9c0c
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue