]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/logrotate.conf: Rename service name 5055/head
authorwuxingyi <wuxingyi2015@outlook.com>
Wed, 11 Mar 2015 09:34:40 +0000 (17:34 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 23 Jun 2015 12:45:20 +0000 (14:45 +0200)
The service name for ceph rados gateway was changed to "ceph-radosgw",
the previous version of service name "radosgw" would cause a failed reload,
and finally make it impossible to write any log data to the log file.

Signed-off-by: wuxingyi <wuxingyi2015@outlook.com>
(cherry picked from commit 9df3f798179481fe8ae6ae873dcb793de7d8f367)

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