Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2001 19:27:11 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        Walter Betancourt <walt@betan.com>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: automatic start of Apache
Message-ID:  <20010930192710.B24354@mithrandr.moria.org>
In-Reply-To: <4.2.2.20010930125829.00b622f0@popd.betan.net>; from walt@betan.com on Sun, Sep 30, 2001 at 12:59:06PM -0400
References:  <200109301651.JAA23450@ocis.ocis.net> <4.2.2.20010930125829.00b622f0@popd.betan.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun 2001-09-30 (12:59), Walter Betancourt wrote:
> I have startup stuff in  rc.conf.local
> 
> does it matter ?

That's the wrong place to put it - it'll get run every time a program
tries to read the configuration.  The rc.conf and rc.conf.local files
are to set up configuration only.

Rather use /etc/rc.local for your startup stuff.  Alternatively, if you
want to find out how the packages that are installed on FreeBSD add
things to the startup process, look in the /usr/local/etc/rc.d
directory, at the files ending with '.sh'.

The apache ports/packages already add themselves this way - it's
probably called 'apache.sh'.

Neil
-- 
Neil Blakey-Milner
nbm@mithrandr.moria.org

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




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