From ad9982d644be65fcfb7aaa04fd6f58c3985e3bd2 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 4 Jun 2021 23:50:27 +0200 Subject: [PATCH] Fix --- scripts/install | 6 +++--- scripts/upgrade | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index d9daf71..efe3b0b 100644 --- a/scripts/install +++ b/scripts/install @@ -143,11 +143,11 @@ fi ynh_script_progression --message="Configuring a systemd service..." --weight=1 # Create a dedicated systemd config -ynh_add_systemd_config +ynh_add_systemd_config --service=mumble-server --template=systemd.service if [ "$mumbleweb" -eq 1 ] ; then - ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service" - ynh_add_systemd_config "$app-web" mumble-web.service + ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/mumble-web.service" + ynh_add_systemd_config --service=mumble-web --template=mumble-web.service fi #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index bdd55e9..4dfa668 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -178,11 +178,11 @@ ynh_add_config --template="../conf/mumble-server.ini" --destination="$final_path ynh_script_progression --message="Upgrading systemd configuration..." --weight=2 # Create a dedicated systemd config -ynh_add_systemd_config +ynh_add_systemd_config --service=mumble-server --template=systemd.service if [ "$mumbleweb" -eq 1 ] ; then - ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service" - ynh_add_systemd_config "$app-web" mumble-web.service + ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/mumble-web.service" + ynh_add_systemd_config --service=mumble-web --template=mumble-web.service fi #=================================================