From owner-freebsd-questions Tue Jul 3 11:33: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu26-228-058.nc.rr.com [66.26.228.58]) by hub.freebsd.org (Postfix) with ESMTP id C77CD37B405 for ; Tue, 3 Jul 2001 11:32:57 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.3/8.11.3) with ESMTP id f63IXBU88561; Tue, 3 Jul 2001 14:33:11 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Tue, 3 Jul 2001 14:33:11 -0400 (EDT) From: Joe Clarke To: Louis LeBlanc Cc: Subject: Re: Starting a daemon at boot In-Reply-To: <20010703182457.C6553@acadia.ne.mediaone.net> Message-ID: <20010703143230.K27505-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I add startup scripts in /usr/local/etc/rc.d or /usr/X11R6/etc/rc.d which ever is appropriate. You can use some of the existing scripts (hopefully you have some) as examples. Joe Clarke On Tue, 3 Jul 2001, Louis LeBlanc wrote: > 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 =D4=BF=D4=AC > > 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