summaryrefslogtreecommitdiffstats
path: root/src/logrotate.conf
blob: e49baec0cdbac6570afe25af33dff2cec34968a8 (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 || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror" || true
    endscript
    missingok
    notifempty
    su root ceph
}