Add logrotate to unbound nameserver – Debian Squeeze
September 26, 2012
You can add logrotate to your unbound nameserver. Just create a file named unbound and place it in /etc/logrotate.d.
File contents below:
/var/log/unbound.log {
rotate 12
weekly
compress
missingok
notifempty
postrotate
/etc/init.d/unbound restart
endscript
}
Categories: sysadmin