Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2004 13:50:12 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        current@FreeBSD.ORG
Subject:   new rc.d style & ordering
Message-ID:  <200406091750.i59HoC5p053202@khavrinen.lcs.mit.edu>
In-Reply-To: <40C73B86.8080800@fer.hr>
References:  <40C73B86.8080800@fer.hr>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 09 Jun 2004 18:32:06 +0200, Ivan Voras <ivoras@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



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