This commit is contained in:
tao_ssh 2023-07-08 07:44:52 +08:00 committed by GitHub
parent f6a5513b05
commit d1ec03f8f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ sudo -u postgres /usr/bin/psql -c "ALTER USER fusionpbx WITH PASSWORD '$database
sudo -u postgres /usr/bin/psql -c "ALTER USER freeswitch WITH PASSWORD '$database_password';"
#add the config.conf
cp fusionpbx/config.conf /etc/fusionpbx
mkdir -p /etc/fusionpbx/
cp fusionpbx/config.conf /etc/fusionpbx/
sed -i /etc/fusionpbx/config.conf -e s:"{database_host}:$database_host:"
sed -i /etc/fusionpbx/config.conf -e s:"{database_name}:$database_name:"
sed -i /etc/fusionpbx/config.conf -e s:"{database_username}:$database_username:"