From d791fc51fd7876b8dfc6fe840cc48062b4f87a58 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 14 Aug 2021 16:39:03 +0200 Subject: [PATCH] Option --others_var is deprecated / irrelevant since 4.2, and will be removed in Bullseye. Yunohost now manages conf using ynh_add_config which automatically replace all __FOOBAR__ by $foobar --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 6bbc161..c7fba70 100644 --- a/scripts/install +++ b/scripts/install @@ -155,7 +155,7 @@ popd ynh_script_progression --message="Configuring a systemd service..." --weight=1 # Create a dedicated systemd config -ynh_add_systemd_config --others_var="ynh_node_load_PATH ynh_npm" +ynh_add_systemd_config #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index c4a582e..c56f86f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -182,7 +182,7 @@ ynh_use_logrotate --non-append ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 # Create a dedicated systemd config -ynh_add_systemd_config --others_var="ynh_node_load_PATH ynh_npm" +ynh_add_systemd_config #================================================= # GENERIC FINALIZATION