homeserver/friedhof/mgrote_ntp_chrony_server/templates/logrotate_chrony
Michael Grote 7a24089031 fix linter errors (#584)
Reviewed-on: #584
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-25 22:26:17 +02:00

16 lines
287 B
Text

{{ file_header | default () }}
/var/log/chrony/*.log {
missingok
nocreate
rotate 4
weekly
compress
missingok
notifempty
dateext
dateyesterday
sharedscripts
postrotate
/usr/bin/chronyc cyclelogs > /dev/null 2>&1 || true
endscript
}