remove pgsql-9.6 from the path to psql and change 9.6 to 14

This commit is contained in:
FusionPBX 2021-10-06 18:49:04 -06:00 committed by GitHub
parent 1717be44d2
commit 63e766458c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -19,8 +19,8 @@ fi
export PGPASSWORD=$database_password export PGPASSWORD=$database_password
#update the database password #update the database password
sudo -u postgres /usr/pgsql-9.6/bin/psql -c "ALTER USER fusionpbx WITH PASSWORD '$database_password';" sudo -u postgres /usr/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';" sudo -u postgres /usr/bin/psql -c "ALTER USER freeswitch WITH PASSWORD '$database_password';"
#add the config.php #add the config.php
mkdir -p /etc/fusionpbx mkdir -p /etc/fusionpbx
@ -113,7 +113,7 @@ systemctl enable php-fpm
systemctl enable nginx systemctl enable nginx
systemctl enable freeswitch systemctl enable freeswitch
systemctl enable memcached systemctl enable memcached
systemctl enable postgresql-9.6 systemctl enable postgresql-14
systemctl daemon-reload systemctl daemon-reload
systemctl restart freeswitch systemctl restart freeswitch