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 {
|
/var/log/unbound/*.log {
|
||||||
daily
|
size 1G
|
||||||
rotate 30
|
rotate 4
|
||||||
missingok
|
missingok
|
||||||
notifempty
|
notifempty
|
||||||
compress
|
compress
|
||||||
|
@ -8,6 +8,6 @@
|
||||||
sharedscripts
|
sharedscripts
|
||||||
create 644
|
create 644
|
||||||
postrotate
|
postrotate
|
||||||
/usr/local/sbin/unbound-control log_reopen
|
/usr/sbin/unbound-control log_reopen
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue