From c5c627fdd3de669ee94ab7ecd6939c29a4a68011 Mon Sep 17 00:00:00 2001 From: wuxingyi Date: Wed, 11 Mar 2015 17:34:40 +0800 Subject: [PATCH] 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 (cherry picked from commit 9df3f798179481fe8ae6ae873dcb793de7d8f367) --- src/rgw/logrotate.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5