浏览代码

A few more updates change 9.6 to 14

FusionPBX 4 年之前
父节点
当前提交
2fff460632
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      centos/resources/postgresql.sh

+ 3 - 3
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"