[Zope] Zope monitor - howTo ? iow. Restarting Zope

Martijn Pieters mj@digicool.com
Fri, 7 Apr 2000 15:01:24 +0200


On Fri, Apr 07, 2000 at 10:12:03AM +0200, Anders Holmbech Nielsen wrote:
> Hi
> 
> I have tested the -Z option but it doesn't seem to work quite as it 
> should because it still crashes. Here is my start file:
> 
> #! /bin/sh
> reldir=`dirname $0`
> PYTHONHOME=`cd $reldir; pwd`
> export PYTHONHOME
> exec /usr/local/zope/bin/python \
>       $PYTHONHOME/z2.py -Z 'monitor.pid' \
>       -D "$@"

You will have to remove the -D flag, as it will still prevent the fork.

-- 
Martijn Pieters
| Software Engineer    mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope       http://www.zope.org/
|   The Open Source Web Application Server
---------------------------------------------