wip
This commit is contained in:
@@ -83,7 +83,7 @@ pg_setup_conf() {
|
||||
printf "max_replication_slots = 10\n"
|
||||
printf "shared_preload_libraries = 'repmgr'\n"
|
||||
if [[ -n $POSTGRES_MAX_CONNECTIONS ]]; then
|
||||
printf "\nmax_connections = ${POSTGRES_MAX_CONNECTIONS}\n"
|
||||
printf "\nmax_connections = '%s'\n" "$POSTGRES_MAX_CONNECTIONS"
|
||||
fi
|
||||
} >> "$PGDATA/postgresql.conf"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user