From e74b4f323020ca2d62e34ee95f9ea5319802305a Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Fri, 24 Nov 2023 23:32:57 +0100 Subject: [PATCH] remove unnecessary touch and bump min ynh version --- manifest.json | 4 ++-- scripts/install | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index d83ed78..51f8eeb 100644 --- a/manifest.json +++ b/manifest.json @@ -22,7 +22,7 @@ "email": "" }, "requirements": { - "yunohost": ">= 11.0.6" + "yunohost": ">= 11.2.6" }, "multi_instance": true, "services": [ @@ -106,4 +106,4 @@ } ] } -} +} \ No newline at end of file diff --git a/scripts/install b/scripts/install index 6fc85f1..5ad594b 100755 --- a/scripts/install +++ b/scripts/install @@ -307,9 +307,6 @@ ynh_use_logrotate #================================================= ynh_script_progression --message="Configuring fail2ban..." --weight=1 -# Create the logfile, required before configuring fail2ban -touch "/var/log/${app}/${app}.log" - # Create a dedicated Fail2Ban config ynh_add_fail2ban_config --logpath="/var/log/${app}/${app}.log" --failregex="statusCode=401 path=/auth/sign_in clientIP= .* msg=\"Unauthorized:" --max_retry=5