From patchwork Fri Jul 30 06:14:16 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Mueller X-Patchwork-Id: 115413 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6U6OG66010409 for ; Fri, 30 Jul 2010 06:24:16 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755288Ab0G3GYQ (ORCPT ); Fri, 30 Jul 2010 02:24:16 -0400 Received: from mail.muellerit.ch ([92.51.129.153]:54293 "EHLO mail.muellerit.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755284Ab0G3GYQ (ORCPT ); Fri, 30 Jul 2010 02:24:16 -0400 X-Virus-Scanned: amavisd-new at mail.muellerit.ch Received: from mail.muellerit.ch ([127.0.0.1]) by localhost (mail.muellerit.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id XxosyshPWjCN for ; Fri, 30 Jul 2010 08:14:20 +0200 (CEST) Received: from gargelblaster.mit.local (zux221-125-110.adsl.green.ch [81.221.125.110]) by mail.muellerit.ch (Postfix) with ESMTPSA id 6E0B8792402E for ; Fri, 30 Jul 2010 08:14:20 +0200 (CEST) Received: by gargelblaster.mit.local (Postfix, from userid 1000) id ECD6D2020C7A; Fri, 30 Jul 2010 08:14:19 +0200 (CEST) From: Thomas Mueller To: ceph-devel@vger.kernel.org Cc: Thomas Mueller Subject: [PATCH] redirect stdout to /dev/null when reloading Date: Fri, 30 Jul 2010 08:14:16 +0200 Message-Id: <1280470456-6210-1-git-send-email-thomas@chaschperli.ch> X-Mailer: git-send-email 1.7.1 Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 30 Jul 2010 06:24:17 +0000 (UTC) === 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 --- debian/ceph.logrotate | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/debian/ceph.logrotate b/debian/ceph.logrotate index baea2e9..308de50 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 }