forked from norman/fusionpbx-install.sh-github-mirror
Update postgresql version from 9.4 to 9.6 to prevent installation issue on Centos
* modfied finish.sh to prevent failure during postgresql user creation * update postgresql.sh to install postgresql-9.6
This commit is contained in:
@@ -19,8 +19,8 @@ fi
|
||||
export PGPASSWORD=$database_password
|
||||
|
||||
#update the database password
|
||||
sudo -u postgres /usr/pgsql-9.4/bin/psql -c "ALTER USER fusionpbx WITH PASSWORD '$database_password';"
|
||||
sudo -u postgres /usr/pgsql-9.4/bin/psql -c "ALTER USER freeswitch WITH PASSWORD '$database_password';"
|
||||
sudo -u postgres /usr/pgsql-9.6/bin/psql -c "ALTER USER fusionpbx WITH PASSWORD '$database_password';"
|
||||
sudo -u postgres /usr/pgsql-9.6/bin/psql -c "ALTER USER freeswitch WITH PASSWORD '$database_password';"
|
||||
|
||||
#add the config.php
|
||||
mkdir -p /etc/fusionpbx
|
||||
|
||||
Reference in New Issue
Block a user