From 75e792edb7255b0beaf3ecf2008fcc692056552c Mon Sep 17 00:00:00 2001 From: tituspijean Date: Tue, 3 Jan 2023 17:09:05 +0100 Subject: [PATCH] Make sure TLS port is open upon restoring --- scripts/restore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/restore b/scripts/restore index 86cdd13..d0196f8 100644 --- a/scripts/restore +++ b/scripts/restore @@ -67,6 +67,14 @@ chown -R $app:root "$final_path" #================================================= # SPECIFIC RESTORATION +#================================================= +# FIND AND OPEN A PORT +#================================================= +ynh_script_progression --message="Configuring firewall..." --weight=1 + +# Open TLS port +ynh_exec_warn_less yunohost firewall allow TCP $tls_port + #================================================= # REINSTALL DEPENDENCIES #=================================================