From 8598039e748d3e81f4969e802dfd9eb07bfba59a Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Fri, 6 Dec 2019 18:28:44 +0100 Subject: [PATCH] Update install --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 4da9fc8..1375c3a 100755 --- a/scripts/install +++ b/scripts/install @@ -94,6 +94,8 @@ ynh_app_setting_set --app=$app --key=port --value=$port # Optional: Expose this port publicly # (N.B. : you only need to do this if the app actually needs to expose the port publicly. # If you do this and the app doesn't actually need you are CREATING SECURITY HOLES IN THE SERVER !) + +# Open the port # ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port