--- StartupItems/Zope/Zope 2006/06/08 17:58:28 1.2 +++ StartupItems/Zope/Zope 2008/10/15 14:35:44 1.3 @@ -12,15 +12,16 @@ # The PostgreSQL BSD-style license applies to this file # -ZDIR=/Volumes/extern/zopeInstance +ZDIR=/Volumes/extern +ZNAME=zopeInstance StartService () { if [ "${ZOPE:=-YES-}" = "-YES-" ]; then - ConsoleMessage "Starting Zope server" - $ZDIR/bin/zopectl start + ConsoleMessage "Starting Zope server $ZNAME" + $ZDIR/$ZNAME/bin/zopectl start fi } @@ -28,8 +29,8 @@ StartService () StopService() { - ConsoleMessage "Stopping Zope server" - $ZDIR/bin/zopectl stop + ConsoleMessage "Stopping Zope server $ZNAME" + $ZDIR/$ZNAME/bin/zopectl stop #x=`/bin/ps axc | /usr/bin/grep postgres` #if /bin/test "$x" #then