Date: Thu, 30 Nov 2006 10:29:00 -0800 From: Doug Barton <dougb@FreeBSD.org> To: Alex Dupre <ale@FreeBSD.org> Cc: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>, ports@freebsd.org Subject: Re: apache + php + mysql startup order Message-ID: <456F22EC.1030106@FreeBSD.org> In-Reply-To: <456EA5DD.1040608@FreeBSD.org> References: <20061130103911.E14131@atlantis.atlantis.dp.ua> <456EA5DD.1040608@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?456F22EC.1030106>