mirror of https://github.com/docker/docs.git
Update startup-order.md (#4907)
This commit is contained in:
parent
84e78883c7
commit
bd8675fba1
|
@ -63,7 +63,7 @@ script:
|
||||||
shift
|
shift
|
||||||
cmd="$@"
|
cmd="$@"
|
||||||
|
|
||||||
until psql -h "$host" -U "postgres" -c '\l'; do
|
until psql -h "$host" -U "postgres" -c '\q'; do
|
||||||
>&2 echo "Postgres is unavailable - sleeping"
|
>&2 echo "Postgres is unavailable - sleeping"
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue