From ec6516df67bd54abc7895d6f56f44b812225f165 Mon Sep 17 00:00:00 2001 From: Bernhard Radermacher Date: Mon, 23 Feb 2026 13:02:54 +0100 Subject: [PATCH] enforce standby registration --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index be5fcc3..9bae2db 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -169,7 +169,7 @@ if [[ ! -s "$PGDATA/PG_VERSION" ]]; then case "$REPMGR_NODE_ROLE" in 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 ) echo "Witness Server not supported for this configuration!"