On Dec 23, 2007 10:43 PM, Jonathan McKeown
<[EMAIL PROTECTED]> wrote:
> On Monday 24 December 2007 02:15, Jonathan Horne wrote:
>
> > otherwise, there is always 'forcestart' intead of 'start'.
>
> and Darren Spruell wrote:
>
> > You can get around the need to activate the variable by
> > prefixing your commands with the 'force' keyword (e.g.
> > /etc/rc.d/named forcestart, etc.)
>
> To start a service which isn't enabled in rc.conf, it's better to use
>
> onestart
>
> From the rc.subr(8) manpage:
>
>     force  Skip the checks for rcvar being set to ``YES'', and
>            sets rc_force=YES.  This ignores argument_precmd
>            returning non-zero, and ignores any of the required_*
>            tests failing, and always returns a zero exit status.
>
>     one    Skip the checks for rcvar being set to ``YES'', but
>            performs all the other prerequisite tests.

Good to know, thx.

DS
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to