Skip site navigation (1)Skip section navigation (2)
Date:      16 Jul 2004 10:56:43 -0400
From:      Dan Pelleg <daniel+bsd@pelleg.org>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        ananth_G <ananth_g@sifycorp.com>
Subject:   Re: FreeBSD newbie Problems
Message-ID:  <u2szn60gfv8.fsf@lark.auton.cs.cmu.edu>
In-Reply-To: <20040716125946.GA1725@k7.mavetju>
References:  <1089981839.1957.3.camel@tdl-b3037.satyam.net.in> <20040716125946.GA1725@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
Edwin Groothuis <edwin@mavetju.org> writes:

> On Fri, Jul 16, 2004 at 06:14:00PM +0530, ananth_G wrote:
> > hi all,
> > im new to freeBSD. ive been using linux( mostly redhat and mandrake, and
> > slackware) , lately i have moved to unix. 
> > i have a few things to be cleared
> > 
> > what are the startup script files that get executed during boot?
> > httpd gets started automatically in the system i work. i tired searching
> > /etc/rc.conf , but i couldnt find an entry for httpd. is there any other
> > startup script?
> 
> /etc/rc.conf is the configuration file for the system.
> 
> /usr/local/etc/rc.d is the startup-scripts directory for locally
> installed ports / packages.

If the port has been converted to rcNG, there should be switch for it in
/etc/rc.conf.

For example, here is pkg_message from the apache13 port:

===>  BE CAREFULL HOW TO BOOT on 1.3.29_4 or after:
        To run apache www server from startup, add apache_enable="YES"
        in your /etc/rc.conf.


For ports that are still configured in the old way, you will typically find
a sample script in /usr/local/etc/rc.d, and then need to rename and/or make
it executable.

-- 

  Dan Pelleg



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