|
/var/log/unbound/unbound.log {
|
|
su unbound unbound
|
|
notifempty
|
|
missingok
|
|
rotate 7
|
|
postrotate
|
|
# Try using unbound-control to start a new log
|
|
# On fail, fall back to using a HUP signal
|
|
/usr/sbin/unbound-control log_reopen || bash /etc/rc.d/rc.unbound reload
|
|
endscript
|
|
}
|