mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Do not run logrotate if the log is empty
This commit is contained in:
parent
a5ffa9a2b1
commit
1e1f10e293
1 changed files with 3 additions and 1 deletions
2
debian/fail2ban.logrotate
vendored
2
debian/fail2ban.logrotate
vendored
|
|
@ -3,6 +3,8 @@
|
||||||
weekly
|
weekly
|
||||||
rotate 4
|
rotate 4
|
||||||
compress
|
compress
|
||||||
|
# Do not rotate if empty
|
||||||
|
notifempty
|
||||||
|
|
||||||
delaycompress
|
delaycompress
|
||||||
missingok
|
missingok
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue