Hello!
On Fri, 1 Dec 2006, Vasil Dimov wrote:
On Thu, Nov 30, 2006 at 09:34:11PM +0200, Dmitry Pryanishnikov wrote:
And yes, I can just replace
# REQUIRE: DAEMON
# BEFORE: LOGIN
with
# REQUIRE: LOGIN
in apache.sh, and all works correctly. Yet I prefer (as usually in
open-source
software
Hello!
I'm trying to write an automated rc.d-script that should check MySQL
database before it's used by the Apache+PHP hosting. So I've added a simple
script with the following block:
# PROVIDE: mysql-check
# BEFORE: apache
# REQUIRE: mysql
This gives rcorder's warning:
rcorder:
On 11/30/06, Dmitry Pryanishnikov [EMAIL PROTECTED] wrote:
Hello!
I'm trying to write an automated rc.d-script that should
check MySQL database before it's used by the
Apache+PHP hosting.
If I were you, I'd make my php scripts handle temporary
db outages. Don't forget that most hosting
Hello!
On Thu, 30 Nov 2006, Andrew Pantyukhin wrote:
On 11/30/06, Dmitry Pryanishnikov [EMAIL PROTECTED] wrote:
I'm trying to write an automated rc.d-script that should
check MySQL database before it's used by the
Apache+PHP hosting.
If I were you, I'd make my php scripts handle temporary
On Thu, Nov 30, 2006 at 12:07:33PM +0300, Andrew Pantyukhin wrote:
On 11/30/06, Dmitry Pryanishnikov [EMAIL PROTECTED] wrote:
Hello!
I'm trying to write an automated rc.d-script that should
check MySQL database before it's used by the
Apache+PHP hosting.
If I were you, I'd make my php
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.
--
Alex Dupre
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