From a00c9e0dfa3e309776506ffb2079c977a42f14e6 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 4 Jun 2021 23:32:39 +0200 Subject: [PATCH] Fix --- check_process | 2 +- manifest.json | 3 ++- scripts/install | 8 ++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/check_process b/check_process index 08e4c14..8c41893 100644 --- a/check_process +++ b/check_process @@ -13,7 +13,7 @@ setup_private=1 setup_public=1 upgrade=1 - upgrade=1 from_commit=d9ece341d532bd5eac9af9ce191da7b62d1e8bb1 + #upgrade=1 from_commit=d9ece341d532bd5eac9af9ce191da7b62d1e8bb1 backup_restore=1 multi_instance=1 ;;; Options diff --git a/manifest.json b/manifest.json index 46afa98..18fdb7b 100644 --- a/manifest.json +++ b/manifest.json @@ -74,7 +74,8 @@ "name": "mumbleweb", "type": "boolean", "ask": { - "en": "Install the web application? (mumble-web)" + "en": "Do you want to install Mumble web?", + "fr": "Voulez-vous installer Mumble Web? " }, "default": false } diff --git a/scripts/install b/scripts/install index 72cf9e4..0c91906 100644 --- a/scripts/install +++ b/scripts/install @@ -92,6 +92,14 @@ if [ "$mumbleweb" -eq 1 ] ; then ynh_install_nodejs --nodejs_version=$nodejs_version fi +#================================================= +# CREATE DEDICATED USER +#================================================= +ynh_script_progression --message="Configuring system user..." --weight=1 + +# Create a system user +ynh_system_user_create --username=$app --home_dir="$final_path" + #================================================= # INSTALL Mumble-web #=================================================