slackbuilds_ponce/network/unbound/unbound.logrotate
Badchay e0749d740c network/unbound: Updated for version 1.16.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
2022-09-04 19:10:21 +01:00

11 lines
317 B
Text

/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
}