From 94c418b8347fae669e403ac99a12268c9aeedc7c Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Fri, 13 Oct 2017 19:07:49 +0200 Subject: [PATCH] Update install --- scripts/install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 187a6ef..27b7c8d 100755 --- a/scripts/install +++ b/scripts/install @@ -54,9 +54,11 @@ ynh_app_setting_set $app path_url "$path_url" # FIND AND OPEN A PORT #================================================= -port=$(ynh_find_port 3000) # Cherche un port libre. +# Find a free port +port=$(ynh_find_port 8095) +# Open this port +yunohost firewall allow --no-upnp TCP $port 2>&1 ynh_app_setting_set $app port $port - #================================================= # INSTALL NODEJS #=================================================