1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00

Update remove

This commit is contained in:
ericgaspar 2021-05-24 10:33:46 +02:00
parent c29118f9a5
commit 7b34f0705c

View file

@ -69,28 +69,6 @@ ynh_script_progression --message="Removing NGINX web server configuration..." --
# Remove the dedicated NGINX config # Remove the dedicated NGINX config
ynh_remove_nginx_config ynh_remove_nginx_config
#=================================================
# CLOSE A PORT
#=================================================
if yunohost firewall list | grep -q "\- $port$"
then
ynh_script_progression --message="Closing port $port..."
ynh_exec_warn_less yunohost firewall disallow TCP $port
fi
if yunohost firewall list | grep -q "\- $port_hub$"
then
ynh_script_progression --message="Closing port $port_hub..."
ynh_exec_warn_less yunohost firewall disallow TCP $port_hub
fi
if yunohost firewall list | grep -q "\- $port_http_proxy$"
then
ynh_script_progression --message="Closing port $port_http_proxy..."
ynh_exec_warn_less yunohost firewall disallow TCP $port_http_proxy
fi
#================================================= #=================================================
# REMOVE DEDICATED USER # REMOVE DEDICATED USER
#================================================= #=================================================