Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions runtime/functions
Original file line number Diff line number Diff line change
Expand Up @@ -438,14 +438,14 @@ configure_postgresql() {
# start postgres server internally for the creation of users and databases
rm -rf ${PG_DATADIR}/postmaster.pid
set_postgresql_param "listen_addresses" "127.0.0.1" quiet
exec_as_postgres ${PG_BINDIR}/pg_ctl -D ${PG_DATADIR} -w start >/dev/null
exec_as_postgres ${PG_BINDIR}/pg_ctl -D ${PG_DATADIR} -w start >> "${PG_LOGDIR}/postgresql-${PG_VERSION}-internal.log"

create_user
create_database
create_replication_user

# stop the postgres server
exec_as_postgres ${PG_BINDIR}/pg_ctl -D ${PG_DATADIR} -w stop >/dev/null
exec_as_postgres ${PG_BINDIR}/pg_ctl -D ${PG_DATADIR} -w stop >> "${PG_LOGDIR}/postgresql-${PG_VERSION}-internal.log"

# listen on all interfaces
set_postgresql_param "listen_addresses" "*" quiet
Expand Down