1 --- ceph-0.55.1/src/logrotate.conf.orig 2012-12-15 15:11:13.516032449 +0100
2 +++ ceph-0.55.1/src/logrotate.conf 2012-12-15 15:16:52.636025383 +0100
7 - if which invoke-rc.d && [ -x `which invoke-rc.d` ]; then
8 - invoke-rc.d ceph reload >/dev/null
9 - elif which service && [ -x `which service` ]; then
10 - service ceph reload >/dev/null
12 - # Possibly reload twice, but depending on ceph.conf the reload above may be a no-op
13 - if which initctl && [ -x `which initctl` ]; then
14 - # upstart reload isn't very helpful here:
15 - # https://bugs.launchpad.net/upstart/+bug/1012938
16 - for type in mon osd mds; do
18 - | perl -ne 'print "$+{service} cluster=$+{cluster} id=$+{id}\n" if m{^(?<service>ceph-(mon|osd|mds)+)\s+\((?<cluster>[^/)]+)/(?<id>[^)]+)\) start/}' \
20 - initctl reload -- $l 2>/dev/null || :
24 + service ceph reload >/dev/null 2>/dev/null