mirror of
https://github.com/YunoHost-Apps/mumbleserver_ynh.git
synced 2024-09-03 19:46:03 +02:00
make sure web app has an available port
yunohost is pragmatic and only check if something listen to a port and doesn't record previous value given in the script. I'm using a totally different port to make sure there is no overlap
This commit is contained in:
parent
dd6e96a9cb
commit
ec768c6de6
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ ynh_app_setting_set "$app" port "$port"
|
|||
yunohost firewall allow Both "$port"
|
||||
|
||||
if [ "$mumbleweb" -eq 1 ] ; then
|
||||
port_web=$(ynh_find_port 64738)
|
||||
port_web=$(ynh_find_port 64800)
|
||||
ynh_app_setting_set "$app" port_web "$port_web"
|
||||
# Open port in firewall
|
||||
yunohost firewall allow Both "$port_web"
|
||||
|
|
Loading…
Add table
Reference in a new issue