From: wuxingyi Date: Wed, 11 Mar 2015 09:34:40 +0000 (+0800) Subject: rgw/logrotate.conf: Rename service name X-Git-Tag: v9.0.0~155^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F3953%2Fhead;p=ceph.git rgw/logrotate.conf: Rename service name 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 --- diff --git a/src/rgw/logrotate.conf b/src/rgw/logrotate.conf index ec47f00817cd9..7e527e852d7f3 100644 --- a/src/rgw/logrotate.conf +++ b/src/rgw/logrotate.conf @@ -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