1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mumbleserver_ynh.git synced 2024-09-03 19:46:03 +02:00

Update install

This commit is contained in:
ericgaspar 2021-01-04 13:20:55 +01:00
parent df993bbf37
commit a49cfdc2b5
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -119,7 +119,7 @@ chown -R :mumble-server "$final_path"
# Add user to ssl-cert so it can read certificates # 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 # 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 # Disable default server installed by Debian's package
#================================================= #=================================================
systemctl stop $app systemctl stop mumble-server
systemctl disable $app --quiet systemctl disable mumble-server --quiet
#================================================= #=================================================
# INTEGRATE SERVICE IN YUNOHOST # INTEGRATE SERVICE IN YUNOHOST
@ -142,7 +142,7 @@ systemctl disable $app --quiet
ynh_script_progression --message="Integrating service in YunoHost..." ynh_script_progression --message="Integrating service in YunoHost..."
# Add Mumble as a YunoHost service # 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" systemctl restart "$app"