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