Update finish.sh
This commit is contained in:
parent
c38c63e193
commit
1ef0db5306
|
|
@ -24,7 +24,7 @@ sudo -u postgres psql -c "ALTER USER freeswitch WITH PASSWORD '$database_passwor
|
||||||
|
|
||||||
#add the config.php
|
#add the config.php
|
||||||
mkdir -p /etc/fusionpbx
|
mkdir -p /etc/fusionpbx
|
||||||
chown -R www-data:www-data /etc/fusionpbx
|
chown -R www:www /etc/fusionpbx
|
||||||
cp fusionpbx/config.php /etc/fusionpbx
|
cp fusionpbx/config.php /etc/fusionpbx
|
||||||
sed -i' ' -e s:'{database_username}:fusionpbx:' /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
|
sed -i' ' -e s:"{database_password}:$database_password:" /etc/fusionpbx/config.php
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue