|
|
@@ -17,7 +17,6 @@ ynh_script_progression --message="Loading installation settings..."
|
|
|
app=$YNH_APP_INSTANCE_NAME
|
|
|
|
|
|
domain=$(ynh_app_setting_get --app=$app --key=domain)
|
|
|
-port=$(ynh_app_setting_get --app=$app --key=port)
|
|
|
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
|
|
db_user=$db_name
|
|
|
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
|
|
@@ -98,16 +97,6 @@ ynh_script_progression --message="Removing NGINX web server configuration..."
|
|
|
# Remove the dedicated 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
|
|
|
-
|
|
|
#=================================================
|
|
|
# SPECIFIC REMOVE
|
|
|
#=================================================
|