Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6A9911544 for ; Sun, 4 May 2014 18:11:21 +0000 (UTC) Received: (qmail 434 invoked by uid 500); 4 May 2014 18:11:20 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 342 invoked by uid 500); 4 May 2014 18:11:20 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 334 invoked by uid 99); 4 May 2014 18:11:19 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 May 2014 18:11:19 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id ADD0489BF3B; Sun, 4 May 2014 18:11:19 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: wohali@apache.org To: commits@couchdb.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: couchdb commit: updated refs/heads/1.6.x to d0c712f Date: Sun, 4 May 2014 18:11:19 +0000 (UTC) Repository: couchdb Updated Branches: refs/heads/1.6.x eef869330 -> d0c712f89 When backgrounding couchdb, close stdout/stderr COUCHDB-2220 COUCHDB-1669 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/d0c712f8 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d0c712f8 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/d0c712f8 Branch: refs/heads/1.6.x Commit: d0c712f892fdbab34496359f3eec7e3291110409 Parents: eef8693 Author: Joan Touzet Authored: Mon Apr 21 01:30:01 2014 -0400 Committer: Joan Touzet Committed: Sun May 4 14:11:02 2014 -0400 ---------------------------------------------------------------------- bin/couchdb.tpl.in | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/d0c712f8/bin/couchdb.tpl.in ---------------------------------------------------------------------- diff --git a/bin/couchdb.tpl.in b/bin/couchdb.tpl.in index 538ebcb..f2027f1 100644 --- a/bin/couchdb.tpl.in +++ b/bin/couchdb.tpl.in @@ -270,6 +270,9 @@ start_couchdb () { echo "Apache CouchDB has started, time to relax." else if test "$RECURSED" = "true"; then + # close stdout / stderr + exec 1>&- + exec 2>&- while true; do export HEART_COMMAND export HEART_BEAT_TIMEOUT