Explorar o código

Fix PostgreSQL version (#364)

Guangming Zhou %!s(int64=4) %!d(string=hai) anos
pai
achega
1805dd7c8d
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      centos/resources/finish.sh
  2. 1 1
      centos/resources/postgresql.sh

+ 1 - 1
centos/resources/finish.sh

@@ -113,7 +113,7 @@ systemctl enable php-fpm
 systemctl enable nginx
 systemctl enable freeswitch
 systemctl enable memcached
-systemctl enable postgresql-9.4
+systemctl enable postgresql-9.6
 systemctl daemon-reload
 systemctl restart freeswitch
 

+ 1 - 1
centos/resources/postgresql.sh

@@ -24,7 +24,7 @@ yum -y install postgresql96-server postgresql96-contrib postgresql96 postgresql9
 verbose "Initalize PostgreSQL database"
 
 #initialize the database
-/usr/pgsql-9.4/bin/postgresql96-setup initdb
+/usr/pgsql-9.6/bin/postgresql96-setup initdb
 
 #allow loopback
 sed -i 's/\(host  *all  *all  *127.0.0.1\/32  *\)ident/\1md5/' /var/lib/pgsql/9.6/data/pg_hba.conf