initial code repo
[stor4nfv.git] / src / ceph / src / logrotate.conf
diff --git a/src/ceph/src/logrotate.conf b/src/ceph/src/logrotate.conf
new file mode 100644 (file)
index 0000000..8e9354a
--- /dev/null
@@ -0,0 +1,12 @@
+/var/log/ceph/*.log {
+    rotate 7
+    daily
+    compress
+    sharedscripts
+    postrotate
+        killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw || true
+    endscript
+    missingok
+    notifempty
+    su root ceph
+}