unbound: fix log rotation
Was too frequent, now that we only log SERVFAILs. Rotate according to file size. Fix unbound-control binary path.
This commit is contained in:
parent
87b2e4f8cf
commit
6d00e2733b
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
/var/log/unbound/*.log {
|
||||
daily
|
||||
rotate 30
|
||||
size 1G
|
||||
rotate 4
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
|
@ -8,6 +8,6 @@
|
|||
sharedscripts
|
||||
create 644
|
||||
postrotate
|
||||
/usr/local/sbin/unbound-control log_reopen
|
||||
/usr/sbin/unbound-control log_reopen
|
||||
endscript
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue