forked from norman/fusionpbx-install.sh-github-mirror
make database host dynamic. (#334)
Co-authored-by: Gill Abada <gill@callifi.com>
This commit is contained in:
@@ -32,6 +32,7 @@ if [ .$nginx_enabled = .'true' ]; then
|
||||
mkdir -p /etc/fusionpbx
|
||||
chown -R www:www /etc/fusionpbx
|
||||
cp fusionpbx/config.php /etc/fusionpbx
|
||||
sed -i' ' -e s:"{database_host}:$database_host:" /etc/fusionpbx/config.php
|
||||
sed -i' ' -e s:'{database_username}:fusionpbx:' /etc/fusionpbx/config.php
|
||||
sed -i' ' -e s:"{database_password}:$database_password:" /etc/fusionpbx/config.php
|
||||
|
||||
|
||||
Reference in New Issue
Block a user