From 4da16e7c6b870a316af176dd28811d28ace5615a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 27 Mar 2021 21:28:31 +0100 Subject: [PATCH] Fix --- scripts/install | 4 +--- scripts/upgrade | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index e7ac8d1..3d6d105 100755 --- a/scripts/install +++ b/scripts/install @@ -113,10 +113,8 @@ 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_add_systemd_config +ynh_add_systemd_config --others_var=$admin $password #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index 5c9f248..8a16697 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -115,10 +115,8 @@ 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_add_systemd_config +ynh_add_systemd_config --others_var=$admin $password #================================================= # GENERIC FINALIZATION