From a6ad47c2351c6e622342c711c5815761994e0eee Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 27 Aug 2021 02:50:53 +0200 Subject: [PATCH] Remove not existing port --- scripts/remove | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/remove b/scripts/remove index 88f1c01..1cc78c8 100644 --- a/scripts/remove +++ b/scripts/remove @@ -17,7 +17,6 @@ ynh_script_progression --message="Loading installation settings..." app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get --app=$app --key=domain) -port=$(ynh_app_setting_get --app=$app --key=port) db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_user=$db_name final_path=$(ynh_app_setting_get --app=$app --key=final_path) @@ -98,16 +97,6 @@ ynh_script_progression --message="Removing NGINX web server configuration..." # Remove the dedicated NGINX config ynh_remove_nginx_config -#================================================= -# CLOSE A PORT -#================================================= - -if yunohost firewall list | grep -q "\- $port$" -then - ynh_script_progression --message="Closing port $port..." - ynh_exec_warn_less yunohost firewall disallow TCP $port -fi - #================================================= # SPECIFIC REMOVE #=================================================