Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2000 17:41:31 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        "[ -dp- ]" <transmogrify@sympatico.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: REAL stupid question
Message-ID:  <20000330174130.B21029@fw.wintelcom.net>
In-Reply-To: <38E3F401.4D1DF4@sympatico.ca>; from transmogrify@sympatico.ca on Thu, Mar 30, 2000 at 07:40:33PM -0500
References:  <CPEEKAEIEILAHOOFPBOICEBICEAA.jkelty@digital-impact.com> <38E3F401.4D1DF4@sympatico.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
* [ -dp- ] <transmogrify@sympatico.ca> [000330 17:07] wrote:
> James wrote:
> > 
> > I would like to know where to put a command that will start, say.....Apache
> > on boot. I am not sure which rc files I can muck with ( to used to sys V
> > arch I guess, sorry ). Any and all help is much appreciated! Thanks!
> > 
> 
> In Apaches case, depending on the release it will take care of the
> startup itself upon installation.
> As for anything else rc, rc.conf, rc.local, or even better your own
> startup script referenced from one 
> of these files to take care of the tasks.

NEVER EVER EVER put a startup command in rc.conf or rc!

rc.conf gets read into multiple startup scripts at boot time and
at certain intervals by periodic scripts and breaking /etc/rc is
really good way to hose your machine if you don't know what you're
doing.

use /etc/rc.local or /usr/local/etc/rc.d/(myscript).sh to start
things up.

-Alfred


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000330174130.B21029>