Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2004 15:06:07 -0600
From:      "Scot W. Hetzel" <hetzelsw@westbend.net>
To:        "Freddie Cash" <fcash-ml@sd73.bc.ca>, <ports@freebsd.org>
Subject:   Re: OPTIONS, LATEST_LINK, and RCng
Message-ID:  <066001c3fa50$e81c1cb0$cebe7726@westbend.net>
References:  <4039C206.9020804@fillmore-labs.com> <20040223120917.608.qmail@laurel.tmseck.homedns.org> <49785.192.168.0.185.1077562516.squirrel@mailtest.sd73.bc.ca> <403A594E.4010100@fillmore-labs.com> <49973.192.168.0.185.1077567089.squirrel@mailtest.sd73.bc.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Freddie Cash" <fcash-ml@sd73.bc.ca>
> Ah, thank you for explaining it a little better.  The situations above
> makes things much clearer for me.  For now, I'll leave it with the
> old, non-RCng script until I can wrap my head around the whole of RCng
> and rc-subr and how it all works.
>
Have a look at ports/security/cyrus-sasl/files/saslauthd.sh for a very
simple RCng script.

Also read the man page for rc.subr (4.x install rc_subr port first to read
man page)

For more complex RCng scripts look at the 5.x /etc/rc.d scripts:

    http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d

HINT: If your program (i.e. amavisd) is written in a language that requires
an interpreter (i.e PERL, python, ...), you will need to set
'command_interpreter' to the location of the interpreter.

Scot




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?066001c3fa50$e81c1cb0$cebe7726>