diff --git a/centos/resources/finish.sh b/centos/resources/finish.sh index 62d06f7..162fd08 100755 --- a/centos/resources/finish.sh +++ b/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 diff --git a/centos/resources/postgresql.sh b/centos/resources/postgresql.sh index ffd10d2..bc38d9d 100755 --- a/centos/resources/postgresql.sh +++ b/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