mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Update config.php if change URL
This commit is contained in:
parent
a5476abab2
commit
70b462209a
1 changed files with 8 additions and 0 deletions
|
@ -19,6 +19,14 @@ ynh_script_progression --message="Updating NGINX web server configuration..." --
|
||||||
|
|
||||||
ynh_change_url_nginx_config
|
ynh_change_url_nginx_config
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# MODIFY CONFIG.PHP
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php"
|
||||||
|
chmod 400 "$install_dir/config.php"
|
||||||
|
chown $app:$app "$install_dir/config.php"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue