From owner-freebsd-questions@FreeBSD.ORG Sat Mar 18 20:56:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8696216A401 for ; Sat, 18 Mar 2006 20:56:27 +0000 (UTC) (envelope-from bsd@bathnetworks.com) Received: from lmail.bathnetworks.co.uk (mail.bathnetworks.com [84.92.24.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CC6843D45 for ; Sat, 18 Mar 2006 20:56:26 +0000 (GMT) (envelope-from bsd@bathnetworks.com) Received: (qmail 12459 invoked by uid 510); 18 Mar 2006 21:00:35 +0000 Received: from 192.168.0.108 by lmail.bathnetworks.co.uk (envelope-from , uid 508) with qmail-scanner-1.24-st-qms (clamdscan: 0.88/1261. spamassassin: 3.0.2. perlscan: 1.24-st-qms. Clear:RC:0(192.168.0.108):SA:0(-3.8/5.0):. Processed in 17.230844 secs); 18 Mar 2006 21:00:35 -0000 X-Spam-Status: No, hits=-3.8 required=5.0 X-Antivirus-MYDOMAIN-Mail-From: bsd@bathnetworks.com via lmail.bathnetworks.co.uk X-Antivirus-MYDOMAIN: 1.24-st-qms (Clear:RC:0(192.168.0.108):SA:0(-3.8/5.0):. Processed in 17.230844 secs Process 12452) Received: from usr002 (HELO ubuntu.bathnetworks.local.bathnetworks.local) (bsd@bathnetworks.com@192.168.0.108) by lmail.bathnetworks.co.uk with SMTP; 18 Mar 2006 21:00:17 +0000 From: robert To: Free BSD In-Reply-To: <441C710F.6010704@aeternal.net> References: <441C702B.2070202@chrismaness.com> <441C710F.6010704@aeternal.net> Content-Type: text/plain Date: Sat, 18 Mar 2006 20:55:49 +0000 Message-Id: <1142715349.9273.22.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit Subject: Re: Best Way to Start an App at Boot Time? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Mar 2006 20:56:27 -0000 On Sat, 2006-03-18 at 21:43 +0100, Martin Hudec wrote: > Hello Chris, > > Chris Maness wrote: > > I like the rc.conf file idea that FreeBSD uses to start daemons. I have > > a python script (i.e. denyhosts.py) that I would like to launch in a > > daemon mode at boot time. How would I add this as an option for > > rc.conf, or is there a better more "official" way to do this? > > Put it in /etc/rc.local perhaps? > > Cheers, > Martin Chris, rc.local is not normally used with later versions of Freebsd - see man rc.local. The script should tell you how to use it, but normally it should be added to /usr/local/etc/rc.d and called from /etc/rc.conf with something like denyhosts="YES". Rob