[RPM Installer Start/Stop Script] Do we need these?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [RPM Installer Start/Stop Script] Do we need these?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [RPM Installer Start/Stop Script] Do we need these?  
Ole Ersoy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-22-07 06:11 AM

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






[ Post a follow-up to this message ]



    Re: [RPM Installer Start/Stop Script] Do we need these?  
Alex Karasulu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-27-07 06:11 PM

Yeah kill it if it looks superfoulous.

Thanks Ole,
ALex


On 3/21/07, Ole Ersoy <ole.ersoy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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
>






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:33 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register