start repmgrd
This commit is contained in:
@@ -69,6 +69,7 @@ case "$REPMGR_NODE_ROLE" in
|
||||
echo "hot_standby = on" >> /var/lib/postgresql/data/postgresql.conf
|
||||
echo "max_wal_senders = 10" >> /var/lib/postgresql/data/postgresql.conf
|
||||
echo "max_replication_slots = 10" >> /var/lib/postgresql/data/postgresql.conf
|
||||
echo "shared_preload_libraries = 'repmgr'" >> /var/lib/postgresql/data/postgresql.conf
|
||||
if [[ -n $POSTGRES_MAX_CONNECTIONS ]]; then
|
||||
echo "max_connections = ${POSTGRES_MAX_CONNECTIONS}" >> /var/lib/postgresql/data/postgresql.conf
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user