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:
parent
5449e22711
commit
93b26d545a
1 changed files with 1 additions and 4 deletions
|
@ -24,10 +24,7 @@ ynh_change_url_nginx_config
|
|||
#=================================================
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
ynh_add_config --template=".env" --destination="$install_dir/config/.env"
|
||||
|
||||
chmod 400 "$install_dir/config/.env"
|
||||
chown $app:$app "$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"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
Loading…
Reference in a new issue