瀏覽代碼

A few more updates change 9.6 to 14

FusionPBX 3 年之前
父節點
當前提交
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
 sudo systemctl start postgresql-14
 
 
 #allow loopback
 #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
 #systemd
 systemctl daemon-reload
 systemctl daemon-reload
@@ -53,4 +53,4 @@ sudo -u postgres /usr/bin/psql -c "GRANT ALL PRIVILEGES ON DATABASE freeswitch t
 cd $cwd
 cd $cwd
 
 
 #send a message
 #send a message
-verbose "PostgreSQL 9.6 installed"
+verbose "PostgreSQL installed"