From 223e7f68286892be9362cd886805c7d0d999ae81 Mon Sep 17 00:00:00 2001 From: oufmilo Date: Sun, 13 Jun 2021 04:33:08 +0200 Subject: [PATCH] Fix --others_var --- scripts/install | 4 ++-- scripts/upgrade | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 3877da8..57472e7 100644 --- a/scripts/install +++ b/scripts/install @@ -144,8 +144,8 @@ popd || ynh_die ynh_script_progression --message="Configuring a systemd service..." # Create a dedicated systemd config - ynh_add_systemd_config --others_var="ynh_node_load_PATH ynh_node" - + ynh_add_systemd_config --template="$ynh_node_load_PATH" + #================================================= # GENERIC FINALIZATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 12c6c3f..4b5e22a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -172,7 +172,7 @@ fi ynh_script_progression --message="Upgrading systemd configuration..." # Create a dedicated systemd config - ynh_add_systemd_config --others_var="ynh_node_load_PATH ynh_node" + ynh_add_systemd_config --template="$ynh_node_load_PATH" #================================================= # GENERIC FINALIZATION