From 302b7708bc6adf9862853e9a3b1a1ff3a3df1445 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 13 Apr 2019 17:23:16 +0200 Subject: [PATCH] CLOSE A PORT --- scripts/remove | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/remove b/scripts/remove index e7ddeeb..69c08e2 100644 --- a/scripts/remove +++ b/scripts/remove @@ -63,6 +63,10 @@ ynh_print_info "Removing the dedicated system user" # Delete a system user sudo userdel $SYNCUSER +#================================================= +# CLOSE A PORT +#================================================= + # Close port in firewall sudo yunohost firewall disallow TCP $SYNCPORT