avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-phoenix/src/script phoenix.sh
Date Thu, 07 Aug 2003 22:23:02 GMT
mcconnell    2003/08/07 15:23:02

  Modified:    src/script phoenix.sh
  Log:
  Fix to script for execution under Mandrake 9.1 submitted by Manuel Soto and validated by
Noel Bergman.
  
  Revision  Changes    Path
  1.10      +5 -2      avalon-phoenix/src/script/phoenix.sh
  
  Index: phoenix.sh
  ===================================================================
  RCS file: /home/cvs/avalon-phoenix/src/script/phoenix.sh,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- phoenix.sh	4 Jun 2003 10:08:57 -0000	1.9
  +++ phoenix.sh	7 Aug 2003 22:23:02 -0000	1.10
  @@ -177,8 +177,11 @@
   
           if [ -f $PHOENIX_PID ]
           then
  -            echo "Already Running!!"
  -            exit 1
  +           if ps -p `cat $PHOENIX_PID ` >/dev/null 2>/dev/null
  +           then
  +               echo "Already Running!!"
  +               exit 1
  +           fi
           fi
   
           echo "STARTED Phoenix `date`" >> $PHOENIX_CONSOLE
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message