Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 74844 invoked from network); 5 Jul 2005 02:54:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jul 2005 02:54:00 -0000 Received: (qmail 75133 invoked by uid 500); 5 Jul 2005 02:53:56 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 75001 invoked by uid 500); 5 Jul 2005 02:53:55 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 74984 invoked by uid 99); 5 Jul 2005 02:53:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2005 19:53:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of dblevins@visi.com designates 208.42.156.9 as permitted sender) Received: from [208.42.156.9] (HELO cenn.mc.mpls.visi.com) (208.42.156.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2005 19:53:55 -0700 Received: from isis.visi.com (isis.visi.com [209.98.98.8]) by cenn.mc.mpls.visi.com (Postfix) with ESMTP id A29918187 for ; Mon, 4 Jul 2005 21:53:51 -0500 (CDT) Received: by isis.visi.com (Postfix, from userid 21236) id 6B78976C6F; Mon, 4 Jul 2005 21:53:51 -0500 (CDT) Date: Mon, 4 Jul 2005 19:54:29 -0700 From: David Blevins To: dev@geronimo.apache.org Subject: Re: Startup Scripts discussion ( GERONIMO-693 ) Message-ID: <20050705025429.GE18794@django> References: <42C9E6E5.70602@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42C9E6E5.70602@apache.org> User-Agent: Mutt/1.5.9i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Mon, Jul 04, 2005 at 06:48:21PM -0700, Jeremy Boynes wrote: > sissonj@insession.com wrote: > >toby cabot wrote on 05/07/2005 12:59:14 AM: > >> > >>I like the idea of using a well-known baseline for the Geronimo > >>scripts, but could we call the shell script "geronimo" instead of > >>"geronimo.sh"? I prefer to not expose the implementation (shell > >>script) in the interface. > > > > > >Are you concerned that we may change shells in the future? > > > >The startup script should have the following on the first line to instruct > >the system which shell interpreter we are using. > >#! /bin/sh > > > > Not every version of Unix places the shell in the same place which can > make this problematic. > > #!/bin/sh should work for most, /provided to stick to sh/ and don't use > ksh or bash extensions (just in case you happen to get a genuine sh > implementation). > Right. And just an reminder, Linux and OSX don't actually have sh on the machine, it's just bash symlinked (linux) or copied (osx). Something to remember when testing the script. -David