From owner-cvs-all@FreeBSD.ORG Fri Dec 17 21:19:03 2010 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25749106566B; Fri, 17 Dec 2010 21:19:03 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from exhub015-1.exch015.msoutlookonline.net (exhub015-1.exch015.msoutlookonline.net [207.5.72.93]) by mx1.freebsd.org (Postfix) with ESMTP id 07FE08FC1C; Fri, 17 Dec 2010 21:19:02 +0000 (UTC) Received: from philip.hq.rws (174.79.184.239) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.2.254.0; Fri, 17 Dec 2010 13:19:02 -0800 Message-ID: <4D0BD3C5.6010809@p6m7g8.com> Date: Fri, 17 Dec 2010 21:19:01 +0000 From: "Philip M. Gollucci" Organization: P6M7G8 Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101213 Thunderbird/3.0.11 MIME-Version: 1.0 To: Doug Barton References: <201012152244.oBFMigGD066775@repoman.freebsd.org> <4D0BCEFA.1030305@FreeBSD.org> In-Reply-To: <4D0BCEFA.1030305@FreeBSD.org> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: cvs-all@FreeBSD.org, ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, "Philip M. Gollucci" , Craig Leres , janos.mohacsi@bsd.hu Subject: Re: cvs commit: ports/net/beacon Makefile ports/net/beacon/files beacon.in patch-Makefile.in patch-common-beacon.patch patch-libbeacon-Makefile.in X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2010 21:19:03 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/17/10 20:58, Doug Barton wrote: > Couple of problems with this script. First, since by default it is now > running as a non-root user it should REQUIRE: LOGIN. We prefer not to > run code unconditionally, so the if [ -f ${config} ] block should > probably be in a prestart method. Finally the traditional way of > daemoninzing is to make command /usr/sbin/daemon, and command_args > include the thing to start. There are numerous examples of this, it > should not be too hard to find one. I will fixes; hopefully today or this weekend. Thanks. Learn something new every day about daemon - -- - ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iD8DBQFNC9PFdbiP+9ubjBwRAq/vAJ43WWd2EVsogadZkNVF28Slz9KEgQCfR5c3 wIVgvEDV7n66SAQF7l+bFwE= =yxe5 -----END PGP SIGNATURE-----