Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2001 15:19:51 -0400
From:      Manolo Valdes <admin@atenas.cult.cu>
To:        freebsd-questions@FreeBSD.org
Subject:   Re: Starting a daemon at boot
Message-ID:  <01070315230800.00387@proxy.atenas.cult.cu>
In-Reply-To: <20010703183901.D6553@acadia.ne.mediaone.net>
References:  <20010703182457.C6553@acadia.ne.mediaone.net> <20010703183901.D6553@acadia.ne.mediaone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
see the /etc/rc script and you find all you need to know.

all the scripts in /usr/local/etc/rc.d most be *.sh or the /etc/rc script wont
execute it

manolito

On Tue, 03 Jul 2001, you wrote:
> Thanks all.  I guess that was a little too obvious for me.  Now that I
> think about it, it makes sense that the system would not bother to
> start some things if /usr/local became unavailable.
> 
> I'll get the hang of this OS yet :)
> 
> Thanks again
> Lou
> 
> On 07/03/01 06:24 PM, Louis LeBlanc sat at the `puter and typed:
> > Hey all.  Quick question.
> > I have a daemon that I want started when FreeBSD comes up.  On Linux,
> > I would either put a control script in /etc/rc.d/init.d/ and link it
> > to the /etc/rc.d/rc#.d/ directories to control when it comes up in
> > relation to the other startup steps.
> > 
> > What is the *correct* way to do this in FreeBSD? 
> > 
> > TIA
> > Lou
> > -- 
> > Louis LeBlanc
> > Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> > leblanc@acadia.ne.mediaone.net
> > http://acadia.ne.mediaone.net                 ԿԬ
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> > 
> 
> -- 
> Louis LeBlanc
> Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> leblanc@acadia.ne.mediaone.net
> http://acadia.ne.mediaone.net                ԿԬ
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

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?01070315230800.00387>