pg_isready: don't try to connect as root

remotes/origin/pgsql-count-bits-12
Andrew Dolgov 4 years ago
parent 28b0ad6ac9
commit 9adf705f70

@ -1,6 +1,6 @@
#!/bin/sh -ex
while ! pg_isready -h $DB_HOST; do
while ! pg_isready -h $DB_HOST -U $DB_USER; do
echo waiting until $DB_HOST is ready...
sleep 3
done

Loading…
Cancel
Save