2025-02-25 23:08:48 -05:00

16 lines
263 B
Plaintext

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