1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00

Merge pull request #70 from YunoHost-Apps/testing

Fix change_url
This commit is contained in:
yalh76 2021-04-08 08:25:55 +02:00 committed by GitHub
commit 1f96029163
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
#db_name=$(ynh_app_setting_get --app=$app --key=db_name)
#db_user=$db_name
#db_pwd=$(ynh_app_setting_get --app=$app --key=db_pwd)
gui_port=$(ynh_app_setting_get --app=$app --key=gui_port)
#=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
@ -92,7 +93,7 @@ then
domain="$old_domain"
path_url="$new_path"
# Create a dedicated nginx config
ynh_add_nginx_config
ynh_add_nginx_config "gui_port"
fi
# Change the domain for nginx