
Was too frequent, now that we only log SERVFAILs. Rotate according to file size. Fix unbound-control binary path.
13 lines
183 B
Django/Jinja
13 lines
183 B
Django/Jinja
/var/log/unbound/*.log {
|
|
size 1G
|
|
rotate 4
|
|
missingok
|
|
notifempty
|
|
compress
|
|
delaycompress
|
|
sharedscripts
|
|
create 644
|
|
postrotate
|
|
/usr/sbin/unbound-control log_reopen
|
|
endscript
|
|
}
|