From owner-freebsd-questions Sun Apr 7 6:10:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dns.perimeter.co.za (dns.perimeter.co.za [196.25.164.254]) by hub.freebsd.org (Postfix) with ESMTP id D57B837B400 for ; Sun, 7 Apr 2002 06:10:35 -0700 (PDT) Received: from there (ndf-dial-196-30-126-222.mweb.co.za [196.30.126.222]) by dns.perimeter.co.za (8.11.1/8.11.1) with SMTP id g37DAO524197; Sun, 7 Apr 2002 15:10:24 +0200 (SAST) (envelope-from bsd@perimeter.co.za) Content-Type: text/plain; charset="iso-8859-1" From: "Patrick O'Reilly" Organization: Perimeter Networks CC Message-Id: <200204071508.46778@.perimeter.co.za> To: Kevin Golding , Unix Newbie Subject: Re: adding a service at start up Date: Sun, 7 Apr 2002 15:14:07 +0200 X-Mailer: KMail [version 1.3.2] Cc: freebsd-questions@FreeBSD.ORG References: <1017952363.8817.36.camel@debian> <1ZT5VFBj31r8Ewn9@caomhin.demon.co.uk> In-Reply-To: <1ZT5VFBj31r8Ewn9@caomhin.demon.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 On Sat 06 Apr 02 22:43, Kevin Golding wrote: > In message <1017952363.8817.36.camel@debian>, Unix Newbie > writes > > > I have been looking around on the net a bit and I cannot quite > > seem to find out how to add a service/dameon to run at start up. > > > > Thanks so much! Docs, urls, I'd like pretty much anything. > > You'd want a startup script in /usr/local/etc/rc.d > > http://www.freebsd.org/handbook/configtuning-starting-services.html > > covers it far better than I could. > The script in /usr/local/etc/rc.d should be named script.sh, where the script part is whatever you please, but it must end with .sh. And it must be executable. Patrick. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message