Skip to content

Commit

Permalink
change master to primary as an argument
Browse files Browse the repository at this point in the history
  • Loading branch information
idanovinda committed Dec 13, 2024
1 parent 6c68291 commit 4dca544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres-appliance/runit/pgqd/run
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ if ! $CHPST true 2> /dev/null; then
fi

exec 2>&1
exec $CHPST env -i PGAPPNAME="pgq ticker" /scripts/patroni_wait.sh --role master -- /usr/bin/pgqd /home/postgres/pgq_ticker.ini
exec $CHPST env -i PGAPPNAME="pgq ticker" /scripts/patroni_wait.sh --role primary -- /usr/bin/pgqd /home/postgres/pgq_ticker.ini

0 comments on commit 4dca544

Please sign in to comment.