From owner-freebsd-questions@FreeBSD.ORG Tue Jun 5 02:12:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F1AD816A468 for ; Tue, 5 Jun 2007 02:12:28 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id CB10713C447 for ; Tue, 5 Jun 2007 02:12:28 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 730CF5193D for ; Mon, 4 Jun 2007 22:12:27 -0400 (EDT) Date: Tue, 5 Jun 2007 03:12:24 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070605031224.188cacc8@gumby.homeunix.com.> In-Reply-To: <10953687.post@talk.nabble.com> References: <10902043.post@talk.nabble.com> <20070601131230.380039e8@localhost> <10906324.post@talk.nabble.com> <20070601154223.GC43330@gizmo.acns.msu.edu> <10953687.post@talk.nabble.com> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: startup / shutdown script (rc.d) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 02:12:29 -0000 On Mon, 4 Jun 2007 09:55:26 -0700 (PDT) gmoniey 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.