From owner-freebsd-questions@FreeBSD.ORG Tue Jun 5 02:26:31 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 363E216A469 for ; Tue, 5 Jun 2007 02:26:31 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id F252013C45A for ; Tue, 5 Jun 2007 02:26:30 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l552LtZs071264; Mon, 4 Jun 2007 22:21:55 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l552LsNH071263; Mon, 4 Jun 2007 22:21:54 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 4 Jun 2007 22:21:54 -0400 From: Jerry McAllister To: RW Message-ID: <20070605022154.GB71220@gizmo.acns.msu.edu> 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> <20070605031224.188cacc8@gumby.homeunix.com.> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070605031224.188cacc8@gumby.homeunix.com.> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org 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:26:31 -0000 On Tue, Jun 05, 2007 at 03:12:24AM +0100, RW wrote: > 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. 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"