Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2008 14:10:17 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>, Bill Banks <office@ourweb.net>
Subject:   Re: starting a program at boot time
Message-ID:  <20080311181017.GJ665@gizmo.acns.msu.edu>
In-Reply-To: <20080305192330.S8517@wojtek.tensor.gdynia.pl>
References:  <47CEDD64.4090100@ourweb.net> <20080305192330.S8517@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to 
> >"freebsd-questions-unsubscribe@freebsd.org"
> >
> >
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



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