From ced530d14f390af6aef9ad2bad154b90ce35b1b8 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Wed, 1 Nov 2023 04:54:33 +0100 Subject: [PATCH] sigh I'm dumdum... / fix touch path while installing fail2ban --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index a9d952b..0a5ce66 100755 --- a/scripts/install +++ b/scripts/install @@ -55,7 +55,7 @@ ynh_use_logrotate ynh_script_progression --message="Upgrading fail2ban configuration..." # Create the logfile, required before configuring fail2ban -touch "/var/log/${app}/${app}.log" +touch "/var/log/${domain}-access.log" # Create a dedicated Fail2Ban config ynh_add_fail2ban_config --logpath="/var/log/${domain}-access.log" --failregex=" .* \"GET /api/.*\" 401" --max_retry=5