From owner-cvs-all@FreeBSD.ORG Tue Jun 5 17:11:53 2012 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 7DE82106566B; Tue, 5 Jun 2012 17:11:53 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 6A8C915585F; Tue, 5 Jun 2012 17:11:52 +0000 (UTC) Message-ID: <4FCE3DD6.8030702@FreeBSD.org> Date: Tue, 05 Jun 2012 10:11:50 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Alex Kozlov References: <201206051112.q55BCYCn048821@repoman.freebsd.org> In-Reply-To: <201206051112.q55BCYCn048821@repoman.freebsd.org> X-Enigmail-Version: 1.4.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/net/haproxy-devel/files haproxy.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: Tue, 05 Jun 2012 17:11:53 -0000 The way that's properly written for rc.d would be to replace the 2 lines with this one line: err 1 "No process found. Maybe $command isn't running?" Other notes, 1. The files need a $FreeBSD$ 2. REQUIRE: LOGIN is a better choice, but if there is a reason for them to run earlier, that's Ok. Thanks for taking a look at these. Doug On 6/5/2012 4:12 AM, Alex Kozlov wrote: > ak 2012-06-05 11:12:34 UTC > > FreeBSD ports repository > > Modified files: > net/haproxy-devel/files haproxy.in > Log: > - Add return codes to rc.d script > > PR: ports/168450 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=168450 > Submitted by: Boris Kochergin > Approved by: demon (maintainer), eadler, itetcu (mentors, implicit) > > Revision Changes Path > 1.6 +2 -1 ports/net/haproxy-devel/files/haproxy.in > > http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/net/haproxy-devel/files/haproxy.in.diff?&r1=1.5&r2=1.6&f=u > -- This .signature sanitized for your protection