fix clone start
This commit is contained in:
@@ -71,7 +71,7 @@ else
|
|||||||
echo "pg_bindir = '/usr/lib/postgresql/15/bin/'" >> /etc/repmgr.conf
|
echo "pg_bindir = '/usr/lib/postgresql/15/bin/'" >> /etc/repmgr.conf
|
||||||
|
|
||||||
|
|
||||||
until /usr/lib/postgresql/15/bin/repmgr -h pg-0 -U repmgr -f /etc/repmgr.conf standby clone --dry-run
|
until /usr/lib/postgresql/15/bin/repmgr -h pg-0 -U repmgr -f /etc/repmgr.conf standby clone --dry-run &> /dev/null
|
||||||
do
|
do
|
||||||
echo "Upstream host not ready..."
|
echo "Upstream host not ready..."
|
||||||
sleep 300
|
sleep 300
|
||||||
|
|||||||
Reference in New Issue
Block a user