starting a program at boot time

Jerry McAllister jerrymc at msu.edu
Tue Mar 11 18:12:42 UTC 2008


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/
There are notes and documentation for that and some samples.

////jerry


> >
> >-- 
> >-----------------------------------------------
> >Bill Banks                         508-829-2005
> >Wachusett Programming              Ourweb
> >http://www.ourweb.net
> >http://www.ourwebtemplates.com
> >
> >
> >_______________________________________________
> >freebsd-questions at freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to 
> >"freebsd-questions-unsubscribe at freebsd.org"
> >
> >
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list