fix bindir
This commit is contained in:
@@ -38,7 +38,7 @@ if [[ -z $UPSTREAM ]]; then
|
||||
echo "conninfo = 'host=pg-0 dbname=repmgr user=repmgr connect_timeout=2'" >> /etc/repmgr.conf
|
||||
echo "data_directory = '/var/lib/postgresql/data'" >> /etc/repmgr.conf
|
||||
echo "use_replication_slots = on" >> /etc/repmgr.conf
|
||||
echo "pg_bindir = /usr/lib/postgresql/15/bin/" >> /etc/repmgr.conf
|
||||
echo "pg_bindir = '/usr/lib/postgresql/15/bin/'" >> /etc/repmgr.conf
|
||||
|
||||
|
||||
# process selected tweaks
|
||||
@@ -63,7 +63,7 @@ else
|
||||
echo "conninfo = 'host=pg-1 dbname=repmgr user=repmgr connect_timeout=2'" >> /etc/repmgr.conf
|
||||
echo "data_directory = '/var/lib/postgresql/data'" >> /etc/repmgr.conf
|
||||
echo "use_replication_slots = on" >> /etc/repmgr.conf
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user