From fe03c021942924390edf062fdaa8140ed28fac4a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 29 May 2022 17:41:13 +0200 Subject: [PATCH] Set var --- check_process | 2 ++ scripts/change_url | 2 ++ 2 files changed, 4 insertions(+) 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