From c924fba4fa40de7a4882c96b836522a06676cb51 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 4 Sep 2014 17:27:43 +0200 Subject: [PATCH] examples: add logrotate configuration --- examples/chrony.logrotate | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 examples/chrony.logrotate diff --git a/examples/chrony.logrotate b/examples/chrony.logrotate new file mode 100644 index 0000000..e0cd83c --- /dev/null +++ b/examples/chrony.logrotate @@ -0,0 +1,8 @@ +/var/log/chrony/*.log { + missingok + nocreate + sharedscripts + postrotate + /usr/bin/chronyc -a cyclelogs > /dev/null 2>&1 || true + endscript +}