Loading pgpool/configure.sh +2 −2 Original line number Diff line number Diff line Loading @@ -107,7 +107,7 @@ sed -i 's/__PGPOOL_TRUSTED_SERVERS__/'$PGPOOL_TRUSTED_SERVERS'/g' $PGPOOL_CONFIG sed -i 's/__PGPOOL_DELEGATE_IP__/'$PGPOOL_DELEGATE_IP'/g' $PGPOOL_CONFIG sed -i 's/__PGPOOL_INTERFACE__/'$PGPOOL_INTERFACE'/g' $PGPOOL_CONFIG if [[ $DB_CLUSTER == false && "$CATEGORY" == "a" ]]; then if [[ $DB_CLUSTER == false ]]; then sed -i 's/PGPOOLUSER=postgres/PGPOOLUSER=root/g' /etc/init.d/pgpool sed -i 's/socket_dir = '\''\/var\/pgtmp'\''/socket_dir = '\''\/var\/tmp'\''/g' $PGPOOL_CONFIG sed -i 's/load_balance_mode = on/load_balance_mode = off/g' $PGPOOL_CONFIG Loading @@ -126,7 +126,7 @@ chmod 4755 /usr/sbin/arping mkdir -p /var/log/pgpool if [[ $DB_CLUSTER == false && "$CATEGORY" == "b" ]]; then if [[ $DB_CLUSTER == true ]]; then touch /etc/pgpool-II/pool_passwd chown postgres /etc/pgpool-II/pool_passwd Loading Loading
pgpool/configure.sh +2 −2 Original line number Diff line number Diff line Loading @@ -107,7 +107,7 @@ sed -i 's/__PGPOOL_TRUSTED_SERVERS__/'$PGPOOL_TRUSTED_SERVERS'/g' $PGPOOL_CONFIG sed -i 's/__PGPOOL_DELEGATE_IP__/'$PGPOOL_DELEGATE_IP'/g' $PGPOOL_CONFIG sed -i 's/__PGPOOL_INTERFACE__/'$PGPOOL_INTERFACE'/g' $PGPOOL_CONFIG if [[ $DB_CLUSTER == false && "$CATEGORY" == "a" ]]; then if [[ $DB_CLUSTER == false ]]; then sed -i 's/PGPOOLUSER=postgres/PGPOOLUSER=root/g' /etc/init.d/pgpool sed -i 's/socket_dir = '\''\/var\/pgtmp'\''/socket_dir = '\''\/var\/tmp'\''/g' $PGPOOL_CONFIG sed -i 's/load_balance_mode = on/load_balance_mode = off/g' $PGPOOL_CONFIG Loading @@ -126,7 +126,7 @@ chmod 4755 /usr/sbin/arping mkdir -p /var/log/pgpool if [[ $DB_CLUSTER == false && "$CATEGORY" == "b" ]]; then if [[ $DB_CLUSTER == true ]]; then touch /etc/pgpool-II/pool_passwd chown postgres /etc/pgpool-II/pool_passwd Loading