> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of J.
> Atwood
> Sent: Saturday, August 12, 2000 1:04 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Zope] Zope - long running process
>
>
> There is a switch in z2.py that allows you to point to a PID file. It will
> automatically restart your Zope installation once it goes down (if).
>
> Like so... (start script)
>
> ___
> #! /bin/sh
> reldir=`dirname $0`
> PYTHONHOME=`cd $reldir; pwd`
> export PYTHONHOME
> exec /usr/local/zope/bin/python \
>      $PYTHONHOME/z2.py \
>      -w80 -Z /usr/local/zope/var/Z2.pid "$@"
>
> ___
>
> It is the -Z /usr/local/zope/var/Z2.pid part.
>
> Do a more on your z2.py and check out all the options.

i've tried this, with 2.1.x and 2.2.0; but i'm not sure it works well.
there are times when my zope hangs, and i need to stop and start manually.
it may be my programming.  not too sure though.  what are others experience?

>  http://lists.zope.org/mailman/listinfo/zope-dev )


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to