mirror of
https://github.com/YunoHost-Apps/mumbleserver_ynh.git
synced 2024-09-03 19:46:03 +02:00
writes the root channel name
This commit is contained in:
parent
050cd91013
commit
e051016038
2 changed files with 3 additions and 2 deletions
|
@ -31,7 +31,7 @@ sudo apt-get install -y mumble-server > /dev/null 2>&1
|
|||
sudo sed -i "s/welcometext=.*/welcometext=$welcometext/g" $mumble_conf
|
||||
sudo sed -i "s/port=.*/port=$port/g" $mumble_conf
|
||||
sudo sed -i "s/serverpassword=.*/serverpassword=$server_password/g" $mumble_conf
|
||||
sudo sed -i "s/*registerName=.*/registerName=$registerName/g" $mumble_conf
|
||||
sudo sed -i "s/#registerName=.*/registerName=$registerName/g" $mumble_conf
|
||||
|
||||
#open port in firewall
|
||||
sudo yunohost firewall allow Both $port > /dev/null 2>&1
|
||||
|
|
|
@ -3,4 +3,5 @@
|
|||
app=mumbleserver
|
||||
port=$(sudo yunohost app setting $app port)
|
||||
sudo apt-get autoremove -y mumble-server > /dev/null 2>&1
|
||||
sudo yunohost firewall disallow Both $port > /dev/null 2>&1
|
||||
sudo yunohost firewall disallow Both $port > /dev/null 2>&1
|
||||
sudo rm -f /etc/mumble-server.ini
|
Loading…
Add table
Reference in a new issue