Best Way to Start an App at Boot Time?

Paul Schmehl pauls at utdallas.edu
Sat Mar 18 21:31:19 UTC 2006


--On March 18, 2006 8:55:49 PM +0000 robert <bsd at bathnetworks.com> wrote:
>
> 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".
>
Please note that it would be denyhosts_enable="YES"

As long as there isn't anything special about the binary, a "standard" rc 
script will work fine.  You can look in your own /usr/local/etc/rc.d 
directory for examples, copy one and change the names to fit your program.

Paul Schmehl (pauls at utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/


More information about the freebsd-questions mailing list