From b20b8bc9ad3a3460df68be33cda38baf5a5295f2 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 6 Nov 2020 18:51:21 +0100 Subject: [PATCH] Do not open a damn port that is not even used anywhere wtf ? --- scripts/install | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/scripts/install b/scripts/install index 99f0314..3bfe5e2 100755 --- a/scripts/install +++ b/scripts/install @@ -73,20 +73,6 @@ ynh_app_setting_set $app language $language #================================================= # STANDARD MODIFICATIONS #================================================= -# FIND AND OPEN A PORT -#================================================= -ynh_print_info "Configuring firewall..." - -### Use these lines if you have to open a port for the application -### `ynh_find_port` will find the first available port starting from the given port. -### If you're not using these lines: -### - Remove the section "CLOSE A PORT" in the remove script - -# Find a free port -port=$(ynh_find_port 8095) -# Open this port -ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port -ynh_app_setting_set $app port $port #================================================= # INSTALL DEPENDENCIES