startup / shutdown script (rc.d)

Jerry McAllister jerrymc at msu.edu
Tue Jun 5 02:26:31 UTC 2007


On Tue, Jun 05, 2007 at 03:12:24AM +0100, RW wrote:

> On Mon, 4 Jun 2007 09:55:26 -0700 (PDT)
> gmoniey <gmoniey at gmail.com> wrote:
> 
> > 
> > Hi,
> > 
> > so i tried the script you mentioned, and it doesnt seem as if it is
> > being called on startup. Here is my script (rails.sh):
> >...
> > While looking through the other files in the rc.d directory, I
> > noticed that 000.apache2libs.sh has the similar structure as the file
> > you suggested, so I attempted to put my commands in there, but it
> > seems as if they are not being called either (i.e. after reboot, when
> > i do a ps aux, i dont see the commands i expect to be started)...
> 
> what happens if you just type    "./rails.sh start 
> manually? 
> 
> If it works, but not during start-up, it may needs some other
> service to start first. 

Good idea.  I usually do that to test my own scripts, so am surprised
I didn't think of it when posting.

////jerry

> _______________________________________________
> 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