1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/leantime_ynh.git synced 2024-09-03 19:36:04 +02:00

Update change_url

This commit is contained in:
Éric Gaspar 2023-12-02 16:46:53 +01:00
parent 5449e22711
commit 93b26d545a

View file

@ -24,10 +24,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" --destination="$install_dir/config/.env" ynh_replace_string --match_string="LEAN_APP_URL = 'https://$old_domain'" --replace_string="LEAN_APP_URL = 'https://$new_domain'" --target_file="$install_dir/config/.env"
chmod 400 "$install_dir/config/.env"
chown $app:$app "$install_dir/config/.env"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT