directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <ole.er...@gmail.com>
Subject [RPM Installer Start/Stop Script] Do we need these?
Date Thu, 22 Mar 2007 01:50:28 GMT
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