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 <sp...@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
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscr...@freebsd.org"

Reply via email to