diff --git a/postgres-appliance/scripts/patroni_wait.sh b/postgres-appliance/scripts/patroni_wait.sh index cb919956..6edb9523 100755 --- a/postgres-appliance/scripts/patroni_wait.sh +++ b/postgres-appliance/scripts/patroni_wait.sh @@ -17,7 +17,7 @@ Options: -t, --timeout Fail after TIMEOUT seconds (default: no timeout) -Waits for ROLE (master or replica). It will check every INTERVAL seconds ($INTERVAL). +Waits for ROLE (primary or replica). It will check every INTERVAL seconds ($INTERVAL). If TIMEOUT is specified, it will stop trying after TIMEOUT seconds. Executes COMMAND after ROLE has become available. (Default: exit 0)