Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2007 23:23:18 -0700
From:      "Darren Spruell" <phatbuckett@gmail.com>
To:        "Jonathan McKeown" <jonathan+freebsd-questions@hst.org.za>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: BIND9 won't start
Message-ID:  <839aec700712232223h7e7cbb6kad67f8ff7368962b@mail.gmail.com>
In-Reply-To: <200712240743.37582.jonathan%2Bfreebsd-questions@hst.org.za>
References:  <476ECA9B.4090805@free.fr> <476EE526.2000501@free.fr> <839aec700712231627k4457c65dx45791c76cd01b2fa@mail.gmail.com> <200712240743.37582.jonathan%2Bfreebsd-questions@hst.org.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 23, 2007 10:43 PM, Jonathan McKeown
<jonathan+freebsd-questions@hst.org.za> 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



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