From 63e766458cde6eb42c50435ece81cf58cdc0f46a Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 6 Oct 2021 18:49:04 -0600 Subject: [PATCH] remove pgsql-9.6 from the path to psql and change 9.6 to 14 --- centos/resources/finish.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/centos/resources/finish.sh b/centos/resources/finish.sh index 162fd08..4d3c3ed 100755 --- a/centos/resources/finish.sh +++ b/centos/resources/finish.sh @@ -19,8 +19,8 @@ fi export PGPASSWORD=$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/pgsql-9.6/bin/psql -c "ALTER USER freeswitch WITH PASSWORD '$database_password';" +sudo -u postgres /usr/bin/psql -c "ALTER USER fusionpbx WITH PASSWORD '$database_password';" +sudo -u postgres /usr/bin/psql -c "ALTER USER freeswitch WITH PASSWORD '$database_password';" #add the config.php mkdir -p /etc/fusionpbx @@ -113,7 +113,7 @@ systemctl enable php-fpm systemctl enable nginx systemctl enable freeswitch systemctl enable memcached -systemctl enable postgresql-9.6 +systemctl enable postgresql-14 systemctl daemon-reload systemctl restart freeswitch