Do not run logrotate if the log is empty

debian
Ron Varburg 5 years ago committed by Sylvestre Ledru
parent a5ffa9a2b1
commit 1e1f10e293

@ -1,8 +1,10 @@
/var/log/fail2ban.log {
weekly
rotate 4
compress
# Do not rotate if empty
notifempty
delaycompress
missingok

Loading…
Cancel
Save