Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Sep 2014 12:16:14 +0100
From:      Mike Clarke <jmc-freebsd2@milibyte.co.uk>
To:        freebsd-ports@freebsd.org
Subject:   Re: service doen't get started at boottime, but can start manually
Message-ID:  <3855474.cM0CkAr3yg@curlew.lan>
In-Reply-To: <CACdU%2Bf_fby%2BKUUWTEDJrcPSdTdYNx=c2-WMG-pP%2BeR8peuXwiQ@mail.gmail.com>
References:  <20140907090321.12bbc428.ohartman@zedat.fu-berlin.de> <CACdU%2Bf_%2BB353Hyv2cHir=Jp53MZoKsFeu4i=spDKEAgsjHmcVQ@mail.gmail.com> <CACdU%2Bf_fby%2BKUUWTEDJrcPSdTdYNx=c2-WMG-pP%2BeR8peuXwiQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 07 Sep 2014 04:03:25 Scot Hetzel wrote:

> > I had a look at scripts/refdb.in, it is not a proper rc script for
> > FreeBSD, as it is missing several keywords:
> > 
> > # PROVIDE: <- all scripts need this

I'm not sure that PROVIDE is still mandatory. But run_rc_command() in 
rc.subr does require "name" to be defined.

There are several example scripts at 
<https://www.freebsd.org/doc/en/articles/rc-scripting/index.html>, 
most of which which do not include PROVIDE. 

Only one of the example scripts uses PROVIDE but the text implies that 
it's only needed if other scripts are to depend on it. 
<https://www.freebsd.org/doc/en/articles/rc-scripting/rcng-hookup.html>;
 
-- 
Mike Clarke



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