rc.d question

Z.C.B. vvelox at vvelox.net
Sat May 27 08:10:31 PDT 2006


On Fri, 26 May 2006 14:33:44 -0400
serge.gagnon at b2b2c.ca (Serge Gagnon) wrote:

> Hi,
> I have a port that can be launch in two way simulaneously like:
> webserver -p80    and
> webserver -p443 -s
> 
> I would like to know if the better way is to make to different rc.d
> script like
> webcit and webcit-ssl or to try to handle this in just one with
> args ? I'm in favor to make two different one because it's less
> complicated.

Take a look at the apache port. It's rc.d script provides some nice
examples. Or if you have problems with that one, I have one the does
a lot of similar stuff but is a lot easier to read.


More information about the freebsd-ports mailing list