mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
4dbf2c44c7
there is no killall in centos7 minimal Signed-off-by: Tianshan Qu <tianshan@xsky.com>
13 lines
308 B
Plaintext
13 lines
308 B
Plaintext
/var/log/ceph/*.log {
|
|
rotate 7
|
|
daily
|
|
compress
|
|
sharedscripts
|
|
postrotate
|
|
killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw" || true
|
|
endscript
|
|
missingok
|
|
notifempty
|
|
su root ceph
|
|
}
|