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

@@ -1,3 +1,8 @@
data_directory = '/var/lib/postgresql/data'
use_replication_slots = on
pg_bindir = '/usr/lib/postgresql/15/bin/'
failover = automatic
promote_command = '/usr/bin/repmgr standby promote -f /etc/repmgr.conf --log-to-file'
follow_command = '/usr/bin/repmgr standby follow -f /etc/repmgr.conf --log-to-file --upstream-node-id=%n'
primary_visibility_consensus = on