From c1abaace560accadf985684411357e9387c144c0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 8 Apr 2017 12:27:26 +0200 Subject: Adding upstream version 20170405. Signed-off-by: Daniel Baumann --- share/logrotate/ceph-log | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 share/logrotate/ceph-log (limited to 'share/logrotate/ceph-log') diff --git a/share/logrotate/ceph-log b/share/logrotate/ceph-log new file mode 100644 index 0000000..cdf8bc7 --- /dev/null +++ b/share/logrotate/ceph-log @@ -0,0 +1,17 @@ +/var/log/storage-tools/ceph-log/ceph-watch.log { + compress + create 0644 root root + dateext + dateformat -%Y%m%d + dateyesterday + missingok + daily + notifempty + rotate 365 + prerotate + service ceph-log stop > /dev/null 2>&1 + endscript + postrotate + service ceph-log start > /dev/null 2>&1 + endscript +} -- cgit v1.2.3