From a8ac9a7b23ce3aec4356b48478201b55c010d9e6 Mon Sep 17 00:00:00 2001 From: pp-r <64266134+pp-r@users.noreply.github.com> Date: Sun, 14 Feb 2021 12:37:21 +0100 Subject: [PATCH] Update from example_ynh --- scripts/remove | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/remove b/scripts/remove index 7599062..f31770c 100644 --- a/scripts/remove +++ b/scripts/remove @@ -28,10 +28,10 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) # REMOVE SERVICE INTEGRATION IN YUNOHOST #================================================= -# Remove the service from the list of services known by Yunohost (added from `yunohost service add`) +# Remove the service from the list of services known by YunoHost (added from `yunohost service add`) #if ynh_exec_warn_less yunohost service status $app >/dev/null #then -# ynh_script_progression --message="Removing $app service..." --time --weight=1 +# ynh_script_progression --message="Removing $app service integration..." --time --weight=1 # yunohost service remove $app #fi @@ -97,16 +97,16 @@ ynh_remove_fpm_config #if yunohost firewall list | grep -q "\- $port$" #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 #fi #================================================= # REMOVE FAIL2BAN CONFIGURATION #================================================= -#ynh_script_progression --message="Removing fail2ban configuration..." --time --weight=1 +#ynh_script_progression --message="Removing Fail2ban configuration..." --time --weight=1 -# Remove the dedicated fail2ban config +# Remove the dedicated Fail2ban config #ynh_remove_fail2ban_config #=================================================