]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Fix bnc#890345 - wrong service name for logrotate.
authorThorsten Behrens <tbehrens@suse.com>
Tue, 5 Aug 2014 08:01:42 +0000 (10:01 +0200)
committerNathan Cutler <ncutler@suse.cz>
Mon, 20 Apr 2015 12:31:09 +0000 (14:31 +0200)
We've renamed the service to ceph-radosgw, reflect that in
logrotate config, too.

Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
(cherry picked from commit 01c9bca6c4dd1a43fa994d8caa37fa3a4d34872b)
(cherry picked from commit d1aaaefd7d4cdcaaec0f8a316bd59f71936662a5)

src/rgw/logrotate.conf

index ec47f00817cd90b81e0c1f0532985573ea0ad16e..7e527e852d7f3eafd914d54aafe695b1ae9fd163 100644 (file)
@@ -7,7 +7,7 @@
         if which invoke-rc.d > /dev/null 2>&1 && [ -x `which invoke-rc.d` ]; then
             invoke-rc.d radosgw reload >/dev/null
         elif which service > /dev/null 2>&1 && [ -x `which service` ]; then
-            service radosgw reload >/dev/null
+            service ceph-radosgw reload >/dev/null
         fi
         # Possibly reload twice, but depending on ceph.conf the reload above may be a no-op
         if which initctl > /dev/null 2>&1 && [ -x `which initctl` ]; then