Best Way to Start an App at Boot Time?
robert
bsd at bathnetworks.com
Sat Mar 18 20:56:27 UTC 2006
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
More information about the freebsd-questions
mailing list