configure logging options on first run

This commit is contained in:
Sameer Naik
2015-11-27 11:04:48 +05:30
parent afe467bec7
commit 5e09110558
+4
View File
@@ -226,6 +226,10 @@ initialize_database() {
# configure path to data_directory
set_postgresql_param "data_directory" "${PG_DATADIR}"
# configure logging
set_postgresql_param "log_directory" "${PG_LOGDIR}"
set_postgresql_param "log_filename" "postgresql-${PG_VERSION}-main.log"
# listen on all interfaces
set_postgresql_param "listen_addresses" "*"