starting a program at boot time

Bill Moran wmoran at potentialtech.com
Tue Mar 11 18:21:28 UTC 2008


In response to Jerry McAllister <jerrymc at msu.edu>:

> On Wed, Mar 05, 2008 at 07:24:07PM +0100, Wojciech Puchar wrote:
> 
> > >how do i  start a program  at boot time?
> > 
> > simplest to add to rc.local
> > 
> > or as a user - add
> > 
> > @reboot command
> > in crontab
> 
> Not really.   
> 
> The more proper way is to add a startup script in /usr/local/rc.d/

Just for the sanity of the OP: that directory is /usr/local/etc/rc.d

-- 
Bill Moran
http://www.potentialtech.com


More information about the freebsd-questions mailing list