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

version 1.2, 2006/06/08 17:58:28 version 1.3, 2008/10/15 14:35:44
Line 12 Line 12
 # The PostgreSQL BSD-style license applies to this file  # The PostgreSQL BSD-style license applies to this file
 #  #
   
 ZDIR=/Volumes/extern/zopeInstance  ZDIR=/Volumes/extern
   ZNAME=zopeInstance
   
 StartService ()  StartService ()
 {  {
   
     if [ "${ZOPE:=-YES-}" = "-YES-" ]; then      if [ "${ZOPE:=-YES-}" = "-YES-" ]; then
   
         ConsoleMessage "Starting Zope server"          ConsoleMessage "Starting Zope server $ZNAME"
         $ZDIR/bin/zopectl start          $ZDIR/$ZNAME/bin/zopectl start
     fi      fi
   
 }  }
Line 28  StartService () Line 29  StartService ()
 StopService()  StopService()
 {  {
   
     ConsoleMessage "Stopping Zope server"      ConsoleMessage "Stopping Zope server $ZNAME"
     $ZDIR/bin/zopectl stop      $ZDIR/$ZNAME/bin/zopectl stop
     #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.2  
changed lines
  Added in v.1.3


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