enforce standby registration

This commit is contained in:
Bernhard Radermacher
2026-02-23 13:02:54 +01:00
parent 8b1e252589
commit ec6516df67

View File

@@ -169,7 +169,7 @@ if [[ ! -s "$PGDATA/PG_VERSION" ]]; then
case "$REPMGR_NODE_ROLE" in case "$REPMGR_NODE_ROLE" in
standby ) standby )
/usr/lib/postgresql/15/bin/repmgr -f /etc/repmgr/repmgr.conf standby register /usr/lib/postgresql/15/bin/repmgr -f /etc/repmgr/repmgr.conf standby register --force
;; ;;
witness ) witness )
echo "Witness Server not supported for this configuration!" echo "Witness Server not supported for this configuration!"