1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlab_ynh.git synced 2024-09-03 18:36:35 +02:00

Closing ports is not really necessary

This commit is contained in:
Kay0u 2019-04-04 13:56:40 +02:00
parent 19e8670496
commit 3dc6fd4bcc

View file

@ -77,6 +77,7 @@ ynh_remove_nginx_config
# CLOSE A PORT
#=================================================
# These ports are no longer open but were in previous versions
if yunohost firewall list | grep -q "\- $port$"; then
ynh_print_info "Closing port $port"
ynh_exec_warn_less yunohost firewall disallow TCP $port