homeserver/roles/mgrote.ntp_chrony_server/templates/logrotate_chrony
mg 8dcd648f0b header eingebaut (#149)
header eingebaut

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#149
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-07-10 12:51:41 +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
}