Skip to content

Commit e749614

Browse files
author
Sameer Naik
committed
fix resolv.conf acl settings before dealing with the postgresql configurations
1 parent d1b13bb commit e749614

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ if [[ -z ${1} ]]; then
2222
create_logdir
2323
create_rundir
2424

25+
set_resolvconf_perms
26+
2527
initialize_database
2628
configure_recovery
2729
configure_ssl
@@ -31,8 +33,6 @@ if [[ -z ${1} ]]; then
3133
create_database
3234
create_replication_user
3335

34-
set_resolvconf_perms
35-
3636
echo "Starting PostgreSQL ${PG_VERSION}..."
3737
exec start-stop-daemon --start --chuid ${PG_USER}:${PG_USER} \
3838
--exec ${PG_BINDIR}/postgres -- -D ${PG_DATADIR} ${EXTRA_ARGS}

0 commit comments

Comments
 (0)