Merge pull request #440 from sdwolfz/fix/postgres-healthcheck

Listen only on the unix socket during init
This commit is contained in:
Tianon Gravi 2018-05-04 12:04:16 -07:00 committed by GitHub
commit 01cf838047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 10 deletions

View File

@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then
# does not listen on external TCP/IP and waits until start finishes
PGUSER="${PGUSER:-postgres}" \
pg_ctl -D "$PGDATA" \
-o "-c listen_addresses='localhost'" \
-o "-c listen_addresses=''" \
-w start
file_env 'POSTGRES_USER' 'postgres'

View File

@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then
# does not listen on external TCP/IP and waits until start finishes
PGUSER="${PGUSER:-postgres}" \
pg_ctl -D "$PGDATA" \
-o "-c listen_addresses='localhost'" \
-o "-c listen_addresses=''" \
-w start
file_env 'POSTGRES_USER' 'postgres'

View File

@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then
# does not listen on external TCP/IP and waits until start finishes
PGUSER="${PGUSER:-postgres}" \
pg_ctl -D "$PGDATA" \
-o "-c listen_addresses='localhost'" \
-o "-c listen_addresses=''" \
-w start
file_env 'POSTGRES_USER' 'postgres'

View File

@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then
# does not listen on external TCP/IP and waits until start finishes
PGUSER="${PGUSER:-postgres}" \
pg_ctl -D "$PGDATA" \
-o "-c listen_addresses='localhost'" \
-o "-c listen_addresses=''" \
-w start
file_env 'POSTGRES_USER' 'postgres'

View File

@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then
# does not listen on external TCP/IP and waits until start finishes
PGUSER="${PGUSER:-postgres}" \
pg_ctl -D "$PGDATA" \
-o "-c listen_addresses='localhost'" \
-o "-c listen_addresses=''" \
-w start
file_env 'POSTGRES_USER' 'postgres'

View File

@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then
# does not listen on external TCP/IP and waits until start finishes
PGUSER="${PGUSER:-postgres}" \
pg_ctl -D "$PGDATA" \
-o "-c listen_addresses='localhost'" \
-o "-c listen_addresses=''" \
-w start
file_env 'POSTGRES_USER' 'postgres'

View File

@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then
# does not listen on external TCP/IP and waits until start finishes
PGUSER="${PGUSER:-postgres}" \
pg_ctl -D "$PGDATA" \
-o "-c listen_addresses='localhost'" \
-o "-c listen_addresses=''" \
-w start
file_env 'POSTGRES_USER' 'postgres'

View File

@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then
# does not listen on external TCP/IP and waits until start finishes
PGUSER="${PGUSER:-postgres}" \
pg_ctl -D "$PGDATA" \
-o "-c listen_addresses='localhost'" \
-o "-c listen_addresses=''" \
-w start
file_env 'POSTGRES_USER' 'postgres'

View File

@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then
# does not listen on external TCP/IP and waits until start finishes
PGUSER="${PGUSER:-postgres}" \
pg_ctl -D "$PGDATA" \
-o "-c listen_addresses='localhost'" \
-o "-c listen_addresses=''" \
-w start
file_env 'POSTGRES_USER' 'postgres'

View File

@ -95,7 +95,7 @@ if [ "$1" = 'postgres' ]; then
# does not listen on external TCP/IP and waits until start finishes
PGUSER="${PGUSER:-postgres}" \
pg_ctl -D "$PGDATA" \
-o "-c listen_addresses='localhost'" \
-o "-c listen_addresses=''" \
-w start
file_env 'POSTGRES_USER' 'postgres'