[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Autostarting Apache and MySQL



On Wed, Aug 09, 2000 at 08:45:40AM -0700, dckinder@mountain.net wrote:
> What is the '/var/run/$NAME.pid' referred to in this skeleton script? 
> And how do I establish this?  (I compiled Mysql and Apache)

This is defined by one of the Sys V init scripts, though I don't recall
which at the moment.  See /etc/init.d/README and referenced docs for
more info.

> Also, I start Apache by issuing the command "apachectl start" and 
> stop it by issuing "apachectl stop."   It is in /usr/local/apache/bin/.  
> Is "/usr/local/apache/bin/apachectl" the "DAEMON" referred to in 
> this script?  I take it that "apache" would be the "NAME,"   Correct?

This will depend on your configuration of Apache.  Write your init
script to start and stop it properly.

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgpMXgL0SUp6J.pgp
Description: PGP signature


Reply to: