From 8d631c13d6fe45c92cd447cf06841f88aa2a41e6 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 28 Feb 2021 13:35:42 +0530 Subject: [PATCH] removed fail2ban --- scripts/install | 8 -------- scripts/remove | 8 -------- 2 files changed, 16 deletions(-) diff --git a/scripts/install b/scripts/install index bc95617..2948911 100755 --- a/scripts/install +++ b/scripts/install @@ -237,14 +237,6 @@ ynh_script_progression --message="Starting a systemd service..." --time --weight # Start a systemd service ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" -#================================================= -# SETUP FAIL2BAN -#================================================= -ynh_script_progression --message="Configuring Fail2Ban..." --time --weight=1 - -# Create a dedicated Fail2Ban config -ynh_add_fail2ban_config --logpath="/var/log/nginx/${domain}-error.log" --failregex="Regex to match into the log for a failed login" - #================================================= # SETUP SSOWAT #================================================= diff --git a/scripts/remove b/scripts/remove index 225f0fe..7b06beb 100755 --- a/scripts/remove +++ b/scripts/remove @@ -83,14 +83,6 @@ then ynh_exec_warn_less yunohost firewall disallow TCP $port fi -#================================================= -# REMOVE FAIL2BAN CONFIGURATION -#================================================= -ynh_script_progression --message="Removing Fail2ban configuration..." --time --weight=1 - -# Remove the dedicated Fail2Ban config -ynh_remove_fail2ban_config - #================================================= # SPECIFIC REMOVE #=================================================