Skip to content

Commit

Permalink
rgw/logrotate.conf: Rename service name
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
wuxingyi committed Mar 18, 2015
1 parent ea7a127 commit 9df3f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/logrotate.conf
Expand Up @@ -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
Expand Down

0 comments on commit 9df3f79

Please sign in to comment.