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:
parent
df993bbf37
commit
a49cfdc2b5
1 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue