directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu" <akaras...@apache.org>
Subject Re: [RPM Installer Start/Stop Script] Do we need these?
Date Tue, 27 Mar 2007 15:19:06 GMT
Yeah kill it if it looks superfoulous.

Thanks Ole,
ALex


On 3/21/07, Ole Ersoy <ole.ersoy@gmail.com> wrote:
>
> I looked at Tomcat's start/stop script (catalina.sh)
> and it does not have this in it:
>
> # Source function library.
> if [ -f /etc/init.d/functions ] ; then
>     . /etc/init.d/functions
> fi
>
> # Source networking configuration.
> if [ -f /etc/sysconfig/network ] ; then
>     . /etc/sysconfig/network
> fi
>
> # Check that networking is up.
> if [ ! -z "$NETWORKING" ] ; then
>      if [ "$NETWORKING" = "no" ] ; then
>           exit 0
>      fi
> fi
>
>
> It made me think that maybe we don't need it either...
> Not that these are harmful in anyway, but personally I prefer things
> to be as lightweight as possible for ease of maintenance and simplicity.
>
> Thoughts?
>
> Thanks,
> - Ole
>

Mime
View raw message