From cd1b3fd75388c1913ccc7ab93885a114d3e452b4 Mon Sep 17 00:00:00 2001 From: Bourre Pierre Date: Tue, 22 Jan 2019 15:47:54 +0100 Subject: [PATCH] change the way we look for the unicorn port --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 71d0a6e..38d126d 100644 --- a/scripts/install +++ b/scripts/install @@ -60,7 +60,7 @@ ynh_app_setting_set $app use_web_account $use_web_account # Find free ports port=$(ynh_find_port 8080) -portUnicorn=$(ynh_find_port 9080) +portUnicorn=$(ynh_find_port $(($port + 1))) yunohost firewall allow --no-upnp TCP $port 2>&1 yunohost firewall allow --no-upnp TCP $portUnicorn 2>&1