examples: add logrotate configuration
This commit is contained in:
parent
8ec43a39af
commit
c924fba4fa
1 changed files with 8 additions and 0 deletions
8
examples/chrony.logrotate
Normal file
8
examples/chrony.logrotate
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
/var/log/chrony/*.log {
|
||||||
|
missingok
|
||||||
|
nocreate
|
||||||
|
sharedscripts
|
||||||
|
postrotate
|
||||||
|
/usr/bin/chronyc -a cyclelogs > /dev/null 2>&1 || true
|
||||||
|
endscript
|
||||||
|
}
|
Loading…
Reference in a new issue