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

[fix] correctly close the IPv6 ports

This commit is contained in:
matlink 2015-03-05 20:05:41 +01:00
parent 32cebbdaac
commit ad1aa0a903

View file

@ -7,6 +7,7 @@ port=$(sudo yunohost app setting $app port)
sudo apt-get autoremove -y mumble-server > /dev/null 2>&1 sudo apt-get autoremove -y mumble-server > /dev/null 2>&1
#close ports #close ports
sudo yunohost firewall disallow Both $port > /dev/null 2>&1 sudo yunohost firewall disallow Both $port > /dev/null 2>&1
sudo yunohost firewall disallow --ipv6 Both $port > /dev/null 2>&1
#removing config file #removing config file
sudo rm -f /etc/mumble-server.ini sudo rm -f /etc/mumble-server.ini