From a09b46ee7be7fbd3d4646fb5dd522e45c9e38077 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 4 Jan 2021 16:07:55 +0100 Subject: [PATCH] Update install --- scripts/install | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index b5f4029..6201b00 100644 --- a/scripts/install +++ b/scripts/install @@ -144,7 +144,12 @@ 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" --needs_exposed_ports $port -systemctl restart "$app" +#================================================= +# START SYSTEMD SERVICE +#================================================= +ynh_script_progression --message="Starting a systemd service..." --weight=3 + +ynh_systemd_action --service_name=$app --action=restart #--log_path="/var/log/$app/$app.log" #================================================= # SEND README TO ADMIN