Files
containers/bitnami/postgresql-repmgr/14/debian-10/rootfs/events/execs/standby_promote.sh
2021-10-22 11:42:50 +00:00

13 lines
332 B
Bash
Executable File

#!/bin/bash
# shellcheck disable=SC1090,SC1091
set -o errexit
set -o nounset
set -o pipefail
# set -o xtrace # Uncomment this line for debugging purpose
. "$REPMGR_EVENTS_DIR/execs/includes/anotate_event_processing.sh"
. "$REPMGR_EVENTS_DIR/execs/includes/lock_primary.sh"
. "$REPMGR_EVENTS_DIR/execs/includes/unlock_standby.sh"