From 2fff460632ce42f1fbb3790c76fc55baa5065e28 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 6 Oct 2021 18:03:48 -0600 Subject: [PATCH] A few more updates change 9.6 to 14 --- centos/resources/postgresql.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/centos/resources/postgresql.sh b/centos/resources/postgresql.sh index 2e473d3..e4b56b4 100755 --- a/centos/resources/postgresql.sh +++ b/centos/resources/postgresql.sh @@ -28,8 +28,8 @@ sudo systemctl enable postgresql-14 sudo systemctl start postgresql-14 #allow loopback -sed -i 's/\(host *all *all *127.0.0.1\/32 *\)ident/\1md5/' /var/lib/pgsql/9.6/data/pg_hba.conf -sed -i 's/\(host *all *all *::1\/128 *\)ident/\1md5/' /var/lib/pgsql/9.6/data/pg_hba.conf +sed -i 's/\(host *all *all *127.0.0.1\/32 *\)ident/\1md5/' /var/lib/pgsql/14/data/pg_hba.conf +sed -i 's/\(host *all *all *::1\/128 *\)ident/\1md5/' /var/lib/pgsql/14/data/pg_hba.conf #systemd systemctl daemon-reload @@ -53,4 +53,4 @@ sudo -u postgres /usr/bin/psql -c "GRANT ALL PRIVILEGES ON DATABASE freeswitch t cd $cwd #send a message -verbose "PostgreSQL 9.6 installed" +verbose "PostgreSQL installed"