* Tue Feb 25 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-7.sme
- move to full systemd unit [SME: 12877]
This commit is contained in:
15
root/etc/logrotate.d/tinydns
Normal file
15
root/etc/logrotate.d/tinydns
Normal file
@@ -0,0 +1,15 @@
|
||||
/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
|
||||
}
|
||||
|
Reference in New Issue
Block a user