Do not run logrotate if the log is empty

debian
Ron Varburg 2020-04-14 11:43:45 +02:00 committed by Sylvestre Ledru
parent a5ffa9a2b1
commit 1e1f10e293
1 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@
weekly weekly
rotate 4 rotate 4
compress compress
# Do not rotate if empty
notifempty
delaycompress delaycompress
missingok missingok