Re: starting a program at boot time

[ Available lists | Index of freebsd-questions | Month of Mar 2008 | Week of 11 Mar 2008 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Jerry McAllister <jerrymc@msu.edu>
Date
11 Mar 2008 18:12:42
Subject
Re: starting a program at boot time
Message-ID
20080311181017.GJ665@gizmo.acns.msu.edu

In reply to
References to
Replies

[ Hide this part ]
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"


Elapsed time: 0.093 seconds