mirror of
https://github.com/YunoHost-Apps/freescout_ynh.git
synced 2024-09-03 18:36:23 +02:00
Update change_url
This commit is contained in:
parent
87cbbce1fd
commit
d233c46d65
1 changed files with 1 additions and 4 deletions
|
@ -21,10 +21,7 @@ ynh_change_url_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
ynh_add_config --template=".env.example" --destination="$install_dir/.env"
|
ynh_replace_string --match_string="APP_URL=https://*" --replace_string="APP_URL=https://$new_domain" --target_file=$install_dir/.env
|
||||||
|
|
||||||
chmod 600 "$install_dir/.env"
|
|
||||||
chown $app:$app "$install_dir/.env"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
Loading…
Reference in a new issue