From a49cfdc2b5478d7bfe4376050a5455c1d2f2d868 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 4 Jan 2021 13:20:55 +0100 Subject: [PATCH] Update install --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index dc546cb..14435c0 100644 --- a/scripts/install +++ b/scripts/install @@ -119,7 +119,7 @@ chown -R :mumble-server "$final_path" # Add user to ssl-cert so it can read certificates #================================================= -usermod --append --groups ssl-cert $app +usermod --append --groups ssl-cert mumble-server #================================================= # Set SuperUser password @@ -133,8 +133,8 @@ murmurd -ini "$mumble_conf" -supw "$su_passwd" "$instance_id" || true # Disable default server installed by Debian's package #================================================= -systemctl stop $app -systemctl disable $app --quiet +systemctl stop mumble-server +systemctl disable mumble-server --quiet #================================================= # INTEGRATE SERVICE IN YUNOHOST @@ -142,7 +142,7 @@ systemctl disable $app --quiet ynh_script_progression --message="Integrating service in YunoHost..." # Add Mumble as a YunoHost service -yunohost service add $app --description "Mumble server" --log="/var/log/$app/$app.log" +yunohost service add $app --description="Mumble server" --log="/var/log/$app/$app.log" systemctl restart "$app"