diff --git a/scripts/install b/scripts/install index 4b947a2..56a3162 100644 --- a/scripts/install +++ b/scripts/install @@ -195,6 +195,7 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --l ynh_script_progression --message="Configuring fail2ban..." --time --weight=1 # Create a dedicated fail2ban config +touch /var/log/$app/$app.log ynh_add_fail2ban_config --logpath="/var/log/$app/$app.log" --failregex="^.*Username or password is incorrect\. Try again\. IP: \. Username:.*$" #=================================================