start repmgrd

This commit is contained in:
Bernhard Radermacher
2026-02-20 14:17:14 +01:00
parent 471b445fe6
commit 1b6a43f113
4 changed files with 14 additions and 0 deletions

View File

@@ -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