From owner-freebsd-ports@FreeBSD.ORG Wed Jun 30 17:16:27 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9465716A4CE for ; Wed, 30 Jun 2004 17:16:27 +0000 (GMT) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F34943D2D for ; Wed, 30 Jun 2004 17:16:27 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from pelsia.ninth-nine.com (pelsia.ninth-nine.com [219.127.74.123]) (authenticated bits=0) by sakura.ninth-nine.com (8.12.11/8.12.11/NinthNine) with ESMTP id i5UHFxsY040146 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Jul 2004 02:16:00 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Thu, 1 Jul 2004 02:16:00 +0900 (JST) Message-Id: <200406301716.i5UHFxsY040146@sakura.ninth-nine.com> From: Norikatsu Shigemura To: Peter Pentchev In-Reply-To: <20040630161000.GB979@straylight.m.ringlet.net> References: <20040620070446.21a599c7.nork@FreeBSD.org> <20040622183550.GI46866@hal9000.halplant.com> <20040624151543.5cadaf83.nork@FreeBSD.org> <20040625162008.GC51175@hal9000.halplant.com> <20040629205443.638a0b27.nork@FreeBSD.org> <200406301408.i5UE8NGf044132@sakura.ninth-nine.com> <20040630161000.GB979@straylight.m.ringlet.net> X-Mailer: Sylpheed version 0.9.11-gtk2-20040613 (GTK+ 2.4.3; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.4 (sakura.ninth-nine.com [219.127.74.121]); Thu, 01 Jul 2004 02:16:00 +0900 (JST) cc: ports@FreeBSD.org Subject: Re: rcNG-fy sysutils/daemontools X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 17:16:27 -0000 On Wed, 30 Jun 2004 19:10:00 +0300 Peter Pentchev wrote: > On Wed, Jun 30, 2004 at 11:08:29PM +0900, Norikatsu Shigemura wrote: > > Hi roam! > > Please update daemontools with following patch:-). > Ahh.. daemon(8) would indeed be a good idea :) > However, I wonder about moving the 2>&1 to the end of the shell command. > IMHO, part of its purpose (or part of the purpose of the original |& csh > construct) is to make sure that anything svscan outputs on stderr is > picked up by readproctitle on stdin. Moving the 2>&1 to the end of the > line would make it apply to readproctitle, not svscan, and any error > messages emitted from svscan would be lost, which kind of defeats the > purpose of executing readproctitle at all :) Oops, I considered that stderr and stdout's streams should be gone to readproctitle with my this way. Sorry I missed, please feel free.