From c256a0d47786eeaad7f40abe72bb44513b1d9c24 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Mon, 31 Jul 2023 17:26:44 -0600 Subject: [PATCH] initialise port --- manifest.json | 2 +- scripts/change_url | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index fd55ec6..8236285 100644 --- a/manifest.json +++ b/manifest.json @@ -23,7 +23,7 @@ "url": "https://navan.dev" }, "requirements": { - "yunohost": ">= 4.3.0" + "yunohost": ">= 11.1.9" }, "services": [ "nginx" diff --git a/scripts/change_url b/scripts/change_url index c782140..d92767d 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -9,6 +9,15 @@ source _common.sh source /usr/share/yunohost/helpers +#================================================= +# LOAD SETTINGS +#================================================= +ynh_script_progression --message="Loading installation settings..." --weight=1 + +app=$YNH_APP_INSTANCE_NAME + +port=$(ynh_app_setting_get --app=$app --key=port) + #================================================= # STANDARD MODIFICATIONS #=================================================