From 07dd5a839ebb322ef33fcb83f8e4a10521db327e Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 13 May 2021 22:41:53 +0200 Subject: [PATCH] remove others_var --- manifest.json | 2 +- scripts/install | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 071f03e..3fcc55f 100644 --- a/manifest.json +++ b/manifest.json @@ -19,7 +19,7 @@ } ], "requirements": { - "yunohost": ">= 4.1.7.3" + "yunohost": ">= 4.2.0" }, "multi_instance": false, "services": [ diff --git a/scripts/install b/scripts/install index a416115..ac5a919 100644 --- a/scripts/install +++ b/scripts/install @@ -187,7 +187,7 @@ chown $app:$app "$final_path/config/local-production.json" ynh_script_progression --message="Configuring a systemd service..." # Create a dedicated systemd config -ynh_add_systemd_config --others_var="ynh_node ynh_node_load_PATH" +ynh_add_systemd_config #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index 7335c47..fb026ff 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -258,7 +258,7 @@ popd ynh_script_progression --message="Upgrading systemd configuration..." # Create a dedicated systemd config -ynh_add_systemd_config --others_var="ynh_node ynh_node_load_PATH" +ynh_add_systemd_config #================================================= # GENERIC FINALIZATION