Skip site navigation (1)Skip section navigation (2)
Date:      01 Feb 2001 16:25:56 -0600
From:      Tim Ayers <tayers@bridge.com>
To:        questions@FreeBSD.ORG
Subject:   Re: Starting Services...
Message-ID:  <3ddy6nwr.fsf@tim.bridge.com>
In-Reply-To: Jeff Dugan's message of "Thu, 01 Feb 2001 17:11:01 -0500"
References:  <3A79DEF5.669C8D7A@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "J" == Jeff Dugan <jdugan21@home.com> writes:

J> As a Newbie to FreeBSD4.0, I am curious on how to get automatically
J> start services during boot.
J> eg:
J> Starting Apache during boot-time..

J> Thanks !

  man rc

In summary you add scripts to /usr/local/etc/rc.d/ that accept at
least the arguments 'start' and 'stop'.

BTW, most ports where it makes sense to start a daemon (e.g. apache,
mod_perl, setiathome) will put a script in /usr/local/etc/rc.d/ for
you.

HTH and
Hope you have a very nice day, :-)
Tim Ayers (tayers@bridge.com)



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?3ddy6nwr.fsf>