geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Startup Scripts discussion ( GERONIMO-693 )
Date Tue, 05 Jul 2005 01:27:58 GMT
toby cabot <> wrote on 05/07/2005 12:59:14 AM:

> On Mon, Jul 04, 2005 at 11:22:59PM +1100, wrote:
> > what do people think 
> > about basing the startup scripts (as much as possible) on tomcat's 
> > catalina.bat & 
> >
> > (since they have been used for years and many users would be familiar 
> > their style of configuration)?
> I like the idea of using a well-known baseline for the Geronimo
> scripts, but could we call the shell script "geronimo" instead of
> ""?  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

It seems that a lot of applications use the .sh extension (except Apache 
HTTPD's apachectl):
Tomcat -
Apache HTTPD - apachectl
WebSphere -
WebLogic -
JBoss -

A number of benefits of using an extension are:
a) easy to find shell script files, just search for files ending in .sh
b) makes it easier to chmod all script files due to previous point.
c) easier for FTP clients to automatically determine whether to use ascii 
or binary transfers.
d) could make it easier for svn property defaults, e.g.  *.sh = 

I would be interested in the opinions of others on this topic.

Thanks for the feedback.

> Thanks,
> Toby

View raw message