From: Tianshan Qu Date: Thu, 27 Jul 2017 06:30:10 +0000 (+0800) Subject: logrotate: add pkill as backup in case of no killall X-Git-Tag: v13.0.1~1087^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4dbf2c44c71629b8d9aae2c0ad7e1917940415ed;p=ceph.git logrotate: add pkill as backup in case of no killall there is no killall in centos7 minimal Signed-off-by: Tianshan Qu --- diff --git a/src/logrotate.conf b/src/logrotate.conf index 8e9354afb322..6d8adc6cca35 100644 --- a/src/logrotate.conf +++ b/src/logrotate.conf @@ -4,7 +4,7 @@ compress sharedscripts postrotate - killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw || true + 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