1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-07-28 10:42:06 +03:00

Update top-level entrypoint for #440 also

This commit is contained in:
Tianon Gravi
2018-05-10 09:41:57 -07:00
parent 01cf838047
commit 8b63de5f0c

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'