2025-03-04 22:51:37 -05:00

17 lines
344 B
Plaintext

/var/log/dnscache.forwarder/dnscache.forwarder.log
/var/log/dnscache/dnscache.log{
weekly
rotate 4
missingok
notifempty
compress
delaycompress
sharedscripts
su root root
create 600 root root
postrotate
/usr/bin/systemctl try-restart dnscache.service dnscache.forwarder.service >/dev/null 2>&1 || true
endscript
}