From: Thomas Mueller Date: Fri, 30 Jul 2010 06:14:16 +0000 (+0200) Subject: redirect stdout to /dev/null when reloading X-Git-Tag: v0.21.1~24 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bcbad88de1d29822ee15e08e99491a1793144e84;p=ceph.git redirect stdout to /dev/null when reloading the reload command prints to stdout. example: # service ceph reload === mon.0 === Reloading Ceph mon0 on hoe001...kill -1 22197...done === osd.0 === Reloading Ceph osd0 on hoe001...kill -1 22263...done "properly" configured systems will send the output by mail to the administrator - this is not desired in case of successfull reloading. Signed-off-by: Thomas Mueller Signed-off-by: Sage Weil --- diff --git a/debian/ceph.logrotate b/debian/ceph.logrotate index baea2e9b51a..308de5019bf 100644 --- a/debian/ceph.logrotate +++ b/debian/ceph.logrotate @@ -4,6 +4,6 @@ compress sharedscripts postrotate - invoke-rc.d ceph reload || service ceph reload + invoke-rc.d ceph reload >/dev/null || service ceph reload >/dev/null endscript }