Update finish.sh

This commit is contained in:
FusionPBX 2022-10-17 22:33:49 -06:00 committed by GitHub
parent 60af1e3adf
commit 8e1a43fbf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ if [ .$nginx_enabled = .'true' ]; then
sudo -u postgres psql -c "ALTER USER freeswitch WITH PASSWORD '$database_password';"
#add the config.conf
mkdir -p /usr/local/etc/fusionpbx
cp fusionpbx/config.conf /usr/local/etc/fusionpbx
sed -i' ' -e s:"{database_host}:$database_host:" /usr/local/etc/fusionpbx/config.conf
sed -i' ' -e s:"{database_name}:$database_name:" /usr/local/etc/fusionpbx/config.conf