Browse Source

Don't print all databases during entrypoint check

Jake Howard 2 years ago
parent
commit
46711111bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docker-entrypoint.sh

+ 1 - 1
docker-entrypoint.sh

@@ -1,7 +1,7 @@
 #!/bin/sh
 set -e
 
-until psql $DATABASE_URL -c '\l'; do
+until psql $DATABASE_URL -c '\q'; do
   >&2 echo "Postgres is unavailable - sleeping"
   sleep 1
 done