mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
e0749d740c
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
11 lines
317 B
Text
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
|
|
}
|