|
|
@ -97,7 +97,7 @@ ynh_remove_logrotate
|
|
|
|
|
|
|
|
|
|
|
|
if yunohost firewall list | grep -q "\- $port$"
|
|
|
|
if yunohost firewall list | grep -q "\- $port$"
|
|
|
|
then
|
|
|
|
then
|
|
|
|
ynh_script_progression --message="Closing port $port..."
|
|
|
|
ynh_script_progression --message="Closing port $port..." --time --weight=1
|
|
|
|
ynh_exec_warn_less yunohost firewall disallow TCP $port
|
|
|
|
ynh_exec_warn_less yunohost firewall disallow TCP $port
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|