From 8c5e9ef20bd2c5c01626c7dafb83049a7bff27da Mon Sep 17 00:00:00 2001 From: anmol26s <5068843+anmol26s@users.noreply.github.com> Date: Tue, 3 Apr 2018 12:42:16 +0530 Subject: [PATCH] Port open while resote --- scripts/restore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/restore b/scripts/restore index 4503f16..6ef80e6 100644 --- a/scripts/restore +++ b/scripts/restore @@ -66,6 +66,9 @@ ynh_restore_file "$final_path" datadir="/home/yunohost.app/${app}/storage" ynh_restore_file "$datadir" +# Open this port +yunohost firewall allow Both "$port" 2>&1 + #================================================= # RECREATE THE DEDICATED USER #=================================================