]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
logrotate: also sighup rbd-mirror 32456/head
authorMykola Golub <mgolub@suse.com>
Tue, 31 Dec 2019 10:01:31 +0000 (10:01 +0000)
committerMykola Golub <mgolub@suse.com>
Sun, 5 Jan 2020 09:30:00 +0000 (09:30 +0000)
Signed-off-by: Mykola Golub <mgolub@suse.com>
src/cephadm/cephadm
src/logrotate.conf

index d699b7b0aba8df4ffcdbae372451fbfc47b786a4..d76a851f57d77571d1622ca33d820d622dc86fbe 100755 (executable)
@@ -1205,7 +1205,7 @@ def install_base_units(fsid):
     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
+        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
index 6d8adc6cca353580e486ce31bf376b452308e310..e49baec0cdbac6570afe25af33dff2cec34968a8 100644 (file)
@@ -4,7 +4,7 @@
     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
+        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