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:
parent
19e8670496
commit
3dc6fd4bcc
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ ynh_remove_nginx_config
|
||||||
# CLOSE A PORT
|
# CLOSE A PORT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
|
# These ports are no longer open but were in previous versions
|
||||||
if yunohost firewall list | grep -q "\- $port$"; then
|
if yunohost firewall list | grep -q "\- $port$"; then
|
||||||
ynh_print_info "Closing port $port"
|
ynh_print_info "Closing port $port"
|
||||||
ynh_exec_warn_less yunohost firewall disallow TCP $port
|
ynh_exec_warn_less yunohost firewall disallow TCP $port
|
||||||
|
|
Loading…
Add table
Reference in a new issue