Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jun 2012 10:11:50 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Alex Kozlov <ak@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/net/haproxy-devel/files haproxy.in
Message-ID:  <4FCE3DD6.8030702@FreeBSD.org>
In-Reply-To: <201206051112.q55BCYCn048821@repoman.freebsd.org>
References:  <201206051112.q55BCYCn048821@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <spawk@acm.poly.edu>
>   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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FCE3DD6.8030702>