* Sat Mar 01 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-6.sme
- move to full systemd units [SME: 12878]
This commit is contained in:
16
root/etc/logrotate.d/dnscache
Normal file
16
root/etc/logrotate.d/dnscache
Normal file
@@ -0,0 +1,16 @@
|
||||
/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
|
||||
}
|
||||
|
Reference in New Issue
Block a user