On Tue, 22 Feb 2000, Niall Kavanagh wrote:
> apachectl by itself won't do anything... you need to tell it what to do,
> like "start", "stop", "restart" etc.

  init calls /etc/rc.d/rc which in turn goes through the /etc/rc.d/rc?.d
directories, invoking each S??* script with an argument of "start" to tell it
to start the appropriate service.

  symlinking apachectl as mentioned sounds like it should work, but I've met
more then one utility that expects the symlinks in /etc/rc.d/rc?.d to point
to scripts in /etc/rc.d/init.d only.

  Note, paths given are on my RHL 6.1 system, your system may leave out the
"rc.d" in the middle so they go in /etc/, or put them in /sbin/, or do
something else entirely.

> I start mine in rc.local. ;) Might not be the "best" way, but I know it's
> gonna start when my machine reboots!

  It works.  That's what rc.local is for.  Lazy sysadmins like me.  :-)

-- 
Ben Scott <[EMAIL PROTECTED]>
| "Meddle not in the affairs of sysadmins, for they are quick to anger, and |
|  have not need of subtlety."                                              |



**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to