1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mumbleserver_ynh.git synced 2024-09-03 19:46:03 +02:00
This commit is contained in:
ericgaspar 2021-06-04 23:32:39 +02:00
parent 004a4bd250
commit a00c9e0dfa
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 11 additions and 2 deletions

View file

@ -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

View file

@ -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
}

View file

@ -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
#=================================================