File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55host=" $1 "
66shift
77
8- until PGPASSWORD=${POSTGRES_PASSWORD} psql -h " $host " -U ${POSTGRES_USER} -c ' \l' ; do
8+ until PGPASSWORD=${POSTGRES_PASSWORD} psql -h " $host " -U ${POSTGRES_USER} -P " pager=off " - c ' \l' ; do
99 >&2 echo " Postgres is unavailable - sleeping"
1010 sleep 1
1111done
1212
13- until PGPASSWORD=${GEONODE_DATABASE_PASSWORD} psql -h " $host " -U ${GEONODE_DATABASE} -d ${GEONODE_DATABASE} -c ' \l' ; do
13+ until PGPASSWORD=${GEONODE_DATABASE_PASSWORD} psql -h " $host " -U ${GEONODE_DATABASE} -d ${GEONODE_DATABASE} -P " pager=off " - c ' \l' ; do
1414 >&2 echo " ${GEONODE_DATABASE} is unavailable - sleeping"
1515 sleep 1
1616done
1717
18- until PGPASSWORD=${GEONODE_GEODATABASE_PASSWORD} psql -h " $host " -U ${GEONODE_GEODATABASE} -d ${GEONODE_GEODATABASE} -c ' \l' ; do
18+ until PGPASSWORD=${GEONODE_GEODATABASE_PASSWORD} psql -h " $host " -U ${GEONODE_GEODATABASE} -d ${GEONODE_GEODATABASE} -P " pager=off " - c ' \l' ; do
1919 >&2 echo " ${GEONODE_GEODATABASE} is unavailable - sleeping"
2020 sleep 1
2121done
You can’t perform that action at this time.
0 commit comments