mirror of
https://github.com/YunoHost-Apps/mumbleserver_ynh.git
synced 2024-09-03 19:46:03 +02:00
[mod] install: 'firewall allow' cmd already open port for ip4 and ip6. Update comments.
This commit is contained in:
parent
a11ed07e28
commit
b07dfbdc56
1 changed files with 6 additions and 6 deletions
|
@ -48,17 +48,17 @@ sudo cp ../conf/mumble-server.ini $mumble_conf
|
||||||
sudo chmod 660 $mumble_conf
|
sudo chmod 660 $mumble_conf
|
||||||
sudo chown :mumble-server $mumble_conf
|
sudo chown :mumble-server $mumble_conf
|
||||||
|
|
||||||
#open port in firewall
|
# Open port in firewall
|
||||||
sudo yunohost firewall allow Both $port > /dev/null 2>&1
|
sudo yunohost firewall allow Both $port > /dev/null 2>&1
|
||||||
sudo yunohost firewall allow --ipv6 Both $port > /dev/null 2>&1
|
|
||||||
|
|
||||||
#starting mumble server
|
# Start Mumble server
|
||||||
sudo /etc/init.d/mumble-server start
|
sudo /etc/init.d/mumble-server start
|
||||||
|
|
||||||
#setting super-user password
|
# Set super-user password
|
||||||
sudo murmurd -supw $su_passwd
|
sudo murmurd -supw $su_passwd
|
||||||
#restart mumble server
|
|
||||||
|
# Restart Mumble server
|
||||||
sudo /etc/init.d/mumble-server restart
|
sudo /etc/init.d/mumble-server restart
|
||||||
|
|
||||||
#adding mumble as a service
|
# Add Mumble as a YunoHost service
|
||||||
sudo yunohost service add mumble-server -l /var/log/mumble-server/mumble-server.log
|
sudo yunohost service add mumble-server -l /var/log/mumble-server/mumble-server.log
|
||||||
|
|
Loading…
Add table
Reference in a new issue