new rc.d style & ordering

Garrett Wollman wollman at khavrinen.lcs.mit.edu
Wed Jun 9 17:50:39 GMT 2004


<<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 services 
> such as databases, if they are installed? For example: If I run apache with 
> 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:

#!/bin/sh
# REQUIRE: database
# BEFORE: web-server

-GAWollman



More information about the freebsd-current mailing list