Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2006 20:55:49 +0000
From:      robert <bsd@bathnetworks.com>
To:        Free BSD <freebsd-questions@freebsd.org>
Subject:   Re: Best Way to Start an App at Boot Time?
Message-ID:  <1142715349.9273.22.camel@localhost.localdomain>
In-Reply-To: <441C710F.6010704@aeternal.net>
References:  <441C702B.2070202@chrismaness.com> <441C710F.6010704@aeternal.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1142715349.9273.22.camel>