new rc.d style & ordering
ivoras at fer.hr
Thu Jun 10 23:15:22 GMT 2004
Garrett Wollman wrote:
> <<On Wed, 09 Jun 2004 18:32:06 +0200, Ivan Voras <ivoras at fer.hr> said:
>>What about services such as apache, which may or may not depend on
>>such as databases, if they are installed? For example: If I run
>>php and mysql, I want mysql to be started before apache.
> In theory, you can put in a null script whose only purpose is to force
> the dependency order:
> # REQUIRE: database
> # BEFORE: web-server
Ouch, I should have though of that :) I see in rcorder.c that it's valid
and supported to have one script with "PROVIDE: database mysql" and
another with "PROVIDE: database postgresql". Also from looking at the
code, it seems that probably there's no need for a dummy "database" script.
It's still not clear to me if one could put "database_load=YES" in
rc.conf and load them all at once?
What part of "Ph'nglui mglw'nath Cthulhu R'lyeh wgah'nagl fhtagn" don't
More information about the freebsd-current