diff --git a/check_process b/check_process index a55c27f..c9a9129 100644 --- a/check_process +++ b/check_process @@ -3,6 +3,8 @@ domain="domain.tld" path="/" is_public=1 + instance_country=France + instance_provider=OVH ; Checks pkg_linter=1 setup_sub_dir=0 diff --git a/scripts/change_url b/scripts/change_url index 375285e..edf8bfd 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -29,6 +29,8 @@ ynh_script_progression --message="Loading installation settings..." --weight=1 # Needed for helper "ynh_add_nginx_config" final_path=$(ynh_app_setting_get --app=$app --key=final_path) port=$(ynh_app_setting_get --app=$app --key=port) +instance_country=$(ynh_app_setting_get --app=$app --key=instance_country) +instance_provider=$(ynh_app_setting_get --app=$app --key=instance_provider) #================================================= # BACKUP BEFORE CHANGE URL THEN ACTIVE TRAP