From 7ef21b444e27b1cb80845099144b235ddebeae96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 4 Nov 2022 21:50:58 +0100 Subject: [PATCH] v2 --- manifest.toml | 5 +++-- scripts/install | 11 ----------- scripts/upgrade | 7 ------- 3 files changed, 3 insertions(+), 20 deletions(-) diff --git a/manifest.toml b/manifest.toml index 234b039..248f5c4 100644 --- a/manifest.toml +++ b/manifest.toml @@ -20,14 +20,13 @@ yunohost = ">= 11.1.0" architectures = "all" multi_instance = true ldap = "false" -sso = "?" # FIXME: replace with true, false, or "not_relevant" +sso = "not_relevant" disk = "50M" ram.build = "50M" ram.runtime = "50M" [install] [install.domain] - # this is a generic question - ask strings are automatically handled by Yunohost's core type = "domain" full_domain = true @@ -36,6 +35,8 @@ ram.runtime = "50M" default = "visitors" [resources] + [resources.port] + [resources.system_user] [resources.install_dir] diff --git a/scripts/install b/scripts/install index 2a5e182..f3c63dd 100755 --- a/scripts/install +++ b/scripts/install @@ -9,17 +9,6 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# STANDARD MODIFICATIONS -#================================================= -# FIND AND OPEN A PORT -#================================================= -ynh_script_progression --message="Finding an available port..." --weight=1 - -# Find an available port -port=$(ynh_find_port --port=8095) -ynh_app_setting_set --app=$app --key=port --value=$port - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index bbb9245..0a3ef6f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,13 +9,6 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# LOAD SETTINGS -#================================================= -ynh_script_progression --message="Loading installation settings..." --weight=1 - -port=$(ynh_app_setting_get --app=$app --key=port) - #================================================= # CHECK VERSION #=================================================