Diff for /StartupItems/Zope/Zope between versions 1.3 and 1.4

version 1.3, 2008/10/15 14:35:44 version 1.4, 2008/10/15 14:52:01
Line 14 Line 14
   
 ZDIR=/Volumes/extern  ZDIR=/Volumes/extern
 ZNAME=zopeInstance  ZNAME=zopeInstance
   ZEO=
   
 StartService ()  StartService ()
 {  {
Line 21  StartService () Line 22  StartService ()
     if [ "${ZOPE:=-YES-}" = "-YES-" ]; then      if [ "${ZOPE:=-YES-}" = "-YES-" ]; then
   
         ConsoleMessage "Starting Zope server $ZNAME"          ConsoleMessage "Starting Zope server $ZNAME"
           if [ -n "$ZEO" ]
           then
               $ZDIR/$ZEO/bin/zeoctl start
               sleep 10
           fi
         $ZDIR/$ZNAME/bin/zopectl start          $ZDIR/$ZNAME/bin/zopectl start
     fi      fi
   
Line 31  StopService() Line 37  StopService()
   
     ConsoleMessage "Stopping Zope server $ZNAME"      ConsoleMessage "Stopping Zope server $ZNAME"
     $ZDIR/$ZNAME/bin/zopectl stop      $ZDIR/$ZNAME/bin/zopectl stop
       if [ -n "$ZEO" ]
       then
           $ZDIR/$ZEO/bin/zeoctl stop
       fi
     #x=`/bin/ps axc | /usr/bin/grep postgres`      #x=`/bin/ps axc | /usr/bin/grep postgres`
     #if /bin/test "$x"      #if /bin/test "$x"
     #then      #then

Removed from v.1.3  
changed lines
  Added in v.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>