From ec768c6de6b9b6c8ab44c43b3a1dc3cd6fcb55b8 Mon Sep 17 00:00:00 2001 From: Jibec Date: Fri, 10 Apr 2020 19:16:25 +0200 Subject: [PATCH] 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 --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index d0c1566..2f1ca20 100644 --- a/scripts/install +++ b/scripts/install @@ -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"