1 --- ceph-0.54/src/logrotate.conf.orig 2012-11-15 21:05:38.519614603 +0100
2 +++ ceph-0.54/src/logrotate.conf 2012-11-15 21:09:14.862943424 +0100
7 - if [ -x `which invoke-rc.d` ]; then
8 - invoke-rc.d ceph reload >/dev/null
9 - elif [ -x `which service` ]; then
10 - service ceph reload >/dev/null
11 - elif [ -x `which initctl` ]; then
12 - # upstart reload isn't very helpful here:
13 - # https://bugs.launchpad.net/upstart/+bug/1012938
14 - for type in mon osd mds; do
16 - | perl -ne 'print "$+{service} cluster=$+{cluster} id=$+{id}\n" if m{^(?<service>ceph-(mon|osd|mds)+)\s+\((?<cluster>[^/)]+)/(?<id>[^)]+)\) start/}' \
18 - initctl reload -- $l 2>/dev/null || :
22 + service ceph reload >/dev/null 2>/dev/null