FreeBSD newbie Problems
Dan Pelleg
daniel+bsd at pelleg.org
Fri Jul 16 07:57:28 PDT 2004
Edwin Groothuis <edwin at 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
More information about the freebsd-stable
mailing list