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!"