From f5b50f41bb44fb77d4e775dd31ae69584805b2b2 Mon Sep 17 00:00:00 2001 From: lapineige Date: Tue, 20 Apr 2021 09:48:58 +0200 Subject: [PATCH] Print progression (fail2ban) --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index e1d6c5b..dcc1fb5 100755 --- a/scripts/install +++ b/scripts/install @@ -138,7 +138,7 @@ chmod 644 "$cron_path" #================================================= # SETUP FAIL2BAN #================================================= - +ynh_script_progression --message="Adding fail2ban configuration..." ynh_add_fail2ban_config_temp "/var/log/nginx/$domain-access.log" ".* - - .*\/api\/[a-z]*(.php)\/accounts\/ClientLogin\?Email=[a-z]*&Passwd=[a-z]* HTTP.* 401 .*" 12 # 10 retries should be enough to permit some tests with (for instance) an app client #=================================================