docker-swag/root/etc/logrotate.d/fail2ban

13 lines
228 B
Plaintext
Raw Normal View History

2020-08-03 11:00:14 -04:00
/config/log/fail2ban/fail2ban.log {
weekly
rotate 7
missingok
compress
delaycompress
nodateext
postrotate
/usr/bin/fail2ban-client flushlogs 1>/dev/null || true
endscript
su abc abc
}