Fix log path for fail2ban

This commit is contained in:
Josué Tille
2019-09-07 11:05:06 +02:00
parent 288aed693a
commit 6f65be494c
3 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ systemctl daemon-reload
systemctl enable "$app".service
# SETUP FAIL2BAN
ynh_add_fail2ban_config --logpath "/var/log/$app/$app.log" --failregex ".*Failed authentication attempt for .* from <HOST>" --max_retry 5
ynh_add_fail2ban_config --logpath "/var/log/$app/gitea.log" --failregex ".*Failed authentication attempt for .* from <HOST>" --max_retry 5
#=================================================
# GENERIC FINALIZATION