enforce standby registration
This commit is contained in:
@@ -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!"
|
||||||
|
|||||||
Reference in New Issue
Block a user