apache + php + mysql startup order

Doug Barton dougb at FreeBSD.org
Thu Nov 30 10:29:08 PST 2006


Alex Dupre wrote:
> Dmitry Pryanishnikov ha scritto:
>> 2) either rc.d/apache.sh or rc.d/mysql-server should be changed somehow
>>    in order to allow (if not force) to start apache _after_ mysqld.
> 
> Since apache runs as www user, it should require LOGIN, as mysql do.

Agreed.

As for the OP's original question, there is no reason you can't change
the REQUIRE lines in the rc.d scripts yourself. Have your -check
script require LOGIN, then have the mysql script require your -check
script, and have apache require mysql.

hth,

Doug

-- 

    This .signature sanitized for your protection



More information about the freebsd-ports mailing list