From b90e4e78d0d800c8bdcd5c0e34a7dc173258e3d8 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 15 May 2021 08:40:13 +0200 Subject: [PATCH] Fix --- check_process | 10 +++++----- manifest.json | 2 +- scripts/install | 3 --- scripts/upgrade | 3 --- 4 files changed, 6 insertions(+), 12 deletions(-) diff --git a/check_process b/check_process index d716fdb..ad4d076 100644 --- a/check_process +++ b/check_process @@ -1,12 +1,12 @@ ;; Test complet auto_remove=1 ; Manifest - domain="domain.tld" (DOMAIN) - path="/" (PATH) - admin="john" (USER) - is_public=1 (PUBLIC|public=1|private=0) + domain="domain.tld" + path="/" + admin="john" + is_public=1 password="password" - port="8095" (PORT) + port="8095" ; Checks pkg_linter=1 setup_sub_dir=0 diff --git a/manifest.json b/manifest.json index de1b6ce..4d895a8 100644 --- a/manifest.json +++ b/manifest.json @@ -14,7 +14,7 @@ "email": "" }, "requirements": { - "yunohost": ">= 4.1.7" + "yunohost": ">= 4.2.4" }, "multi_instance": false, "services": [ diff --git a/scripts/install b/scripts/install index 43a5f34..0bd0546 100755 --- a/scripts/install +++ b/scripts/install @@ -113,9 +113,6 @@ ynh_script_progression --message="Configuring a systemd service..." --weight=1 ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file=../conf/systemd.service ynh_replace_string --match_string="__YNH_NODE__" --replace_string="$ynh_node" --target_file=../conf/systemd.service -ynh_replace_string --match_string="__PASSWORD__" --replace_string="$password" --target_file=../conf/systemd.service -ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file=../conf/systemd.service -ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file=../conf/systemd.service ynh_add_systemd_config diff --git a/scripts/upgrade b/scripts/upgrade index 77b5bb8..b77a1be 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -115,9 +115,6 @@ ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file=../conf/systemd.service ynh_replace_string --match_string="__YNH_NODE__" --replace_string="$ynh_node" --target_file=../conf/systemd.service -ynh_replace_string --match_string="__PASSWORD__" --replace_string="$password" --target_file=../conf/systemd.service -ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file=../conf/systemd.service -ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file=../conf/systemd.service ynh_add_systemd_config