summaryrefslogtreecommitdiffstats
path: root/src/logrotate.conf
blob: a9a452dd6566f92dab3d537bb5589f885edf0e79 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 rbd-mirror cephfs-mirror || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror|cephfs-mirror" || true
    endscript
    missingok
    notifempty
    su root ceph
}