Skip to content

Commit 707290a

Browse files
committed
https://github.com/getodk/central/pull/1671/files/d0b7dcc4e5f668817bfccdcef2d3b469c928d39e#diff-0ec22a6880f77b91c2ccdfc390f98f83dd9fd5a763770b84a05d18535e8f0154
1 parent 5e778ce commit 707290a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/service/scripts/start-odk.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SENTRY_TAGS="{ \"version.central\": \"$(cat sentry-versions/central)\", \"versio
1818
export SENTRY_TAGS
1919

2020
echo "waiting for PostgreSQL to become connectable to..."
21-
while ! (pg_isready --quiet || (echo "sleeping 1 second waiting for a database connection"; false)); do sleep 1; done
21+
while ! (psql --no-password --quiet --command "" > /dev/null 2>&1 || (echo "sleeping 1 second waiting for a database connection"; false)); do sleep 1; done
2222

2323
echo "running migrations.."
2424
node ./lib/bin/run-migrations

0 commit comments

Comments
 (0)