diff --git a/scripts/install b/scripts/install index 7d62f85..ad8b2a8 100644 --- a/scripts/install +++ b/scripts/install @@ -79,7 +79,7 @@ ynh_script_progression --message="Starting a systemd service..." --weight=3 ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Starting new Web server: tcp:127.0.0.1:" # Create a dedicated Fail2Ban config -ynh_add_fail2ban_config --logpath "/var/log/$app/gitea.log" --failregex ".*Failed authentication attempt for .* from " --max_retry 5 +#ynh_add_fail2ban_config --logpath "/var/log/$app/gitea.log" --failregex ".*Failed authentication attempt for .* from " --max_retry 5 #================================================= # LDAP CONFIGURATION diff --git a/scripts/remove b/scripts/remove index 71cd08e..4d969a2 100644 --- a/scripts/remove +++ b/scripts/remove @@ -33,7 +33,7 @@ ynh_remove_logrotate ynh_remove_nginx_config # Remove the dedicated Fail2Ban config -ynh_remove_fail2ban_config +#ynh_remove_fail2ban_config ynh_secure_remove --file="/var/log/$app"