Update finish.sh

This commit is contained in:
FusionPBX
2017-04-24 23:25:56 -06:00
committed by GitHub
parent 1323e263b2
commit d45ccff418

View File

@@ -18,6 +18,9 @@ fi
#allow the script to use the new password
export PGPASSWORD=$database_password
#install the dependencies
pkg install --yes sudo
#update the database password
sudo -u postgres psql -c "ALTER USER fusionpbx WITH PASSWORD '$database_password';"
sudo -u postgres psql -c "ALTER USER freeswitch WITH PASSWORD '$database_password';"