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 #=================================================