1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mumble-web_ynh.git synced 2024-09-03 19:46:16 +02:00
This commit is contained in:
ericgaspar 2021-06-05 12:47:33 +02:00
parent b3772fbcc1
commit 09194cb29e
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 4 additions and 18 deletions

View file

@ -1,5 +1 @@
#### Setup
This package installs the Debian package and configures it with given settings. Password and other usefull information will be sent to you after installation.
- [Add the admin](http://wiki.mumble.info/wiki/Murmurguide#Connecting_to_Murmur_Server)

View file

@ -1,5 +1 @@
## Configuration
mumbleserver_ynh installe le paquet Debian et le configure avec les paramètres donnés. Le mot de passe et d'autres informations utiles sont envoyés après l'installation.
- [Ajouter l'administrateur](http://wiki.mumble.info/wiki/Murmurguide#Connecting_to_Murmur_Server)

View file

@ -1,7 +1,5 @@
#!/bin/bash
# doc: https://wiki.mumble.info/wiki/Running_Murmur
#=================================================
# GENERIC START
#=================================================
@ -29,9 +27,6 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
app=$YNH_APP_INSTANCE_NAME
server_password=$(ynh_string_random)
su_passwd=$(ynh_string_random)
#=================================================
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
#=================================================
@ -68,7 +63,7 @@ ynh_app_setting_set --app=$app --key=port_web --value=$port
ynh_script_progression --message="Installing dependencies..." --weight=4
# Install Mumble Debian package via apt
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
ynh_install_app_dependencies $pkg_dependencies
ynh_install_nodejs --nodejs_version=$nodejs_version
@ -85,7 +80,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
#=================================================
ynh_script_progression --message="Installing Mumble Web..." --weight=4
ynh_app_setting_set --app=$app --key=final_path --value=$
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
@ -106,8 +101,7 @@ ynh_add_nginx_config
#=================================================
# mumble server conf.ini
#=================================================
ynh_script_progression --message="Configuring Mumble server..." --weight=1
ynh_script_progression --message="Configuring Mumble Web..." --weight=1
ynh_use_nodejs
(
@ -130,7 +124,7 @@ ynh_add_systemd_config
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
# Add Mumble as a YunoHost service
yunohost service add $app --description="Mumble web interface" --log="/var/log/$app/$app.log"