[Zope] Anybody else running Zope under Daemontools ?

Joachim Schmitz js@aixtraware.de
Thu, 07 Mar 2002 00:11:19 +0100


Hi,

I am running Zope under daemontools under versions up 2.5.1, my run-script=20
looks like this:


#! /bin/sh
exec 2>&1
PATH=3D$PATH:/usr/local/bin
ZOPE_HOME=3D/usr/local/ZopePark/lzope.aixtraware.de
export ZOPE_HOME
INSTANCE_HOME=3D$ZOPE_HOME/ZInstanceHome
export INSTANCE_HOME
PYTHONHOME=3D$ZOPE_HOME/ZSoftwareHome
export PYTHONHOME
exec setuidgid lzope $PYTHONHOME/bin/python $PYTHONHOME/z2.py \
    -D -p - -P "10.2.1.4:8900" -t 2 -Z ''\
     "$@" >> $INSTANCE_HOME/var/z2.log 2>&1


I hope that helps.


--On Mittwoch, M=E4rz 06, 2002 22:05:11 +0100 Shriek@gmx.co.uk wrote:

> I've just discovered daemontools (http://cr.yp.to/daemontools.html) =
thanks
> to a very helpful chap on CLP.  I used to have so much trouble with Zope
> crashing that I ended up running cronjobs to check if Zope was running
> and restart it if not. How I wish I'd known about daemontools back then!
>
> Anyway, much as I believe that Zope is much more stable nowadays, I'd
> still like to run it under daemontools "just in case".  The only other
> references to using daemontools with zope are 2 years old.
> http://www.zope.org/SiteIndex/search?text_content=3Ddaemontools
>
> Has anybody here been using zope with daemontools for quite a long time ?
> or at least with Zope 2.4.x or 2.5.x ?  Does it require a special 'run'
> script for the service, or could I simply use "exec /var/zope/start" ?
>
> Stephen.
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )



Mit freundlichen Gr=FC=DFen                              Joachim Schmitz
--------------------------------------------------------------------
AixtraWare Ingenieurb=FCro f=FCr Internetanwendungen
H=FCsgenstr. 33a, D-52457 Aldenhoven
Telefon: +49-2464-8851, FAX: +49-2464-905163
--------------------------------------------------------------------
Key fingerprint =3D DA10 CC82 62F8 1DBB 39A1  1EDC 725B 3317 A8D7 C3A6
Keyserver: http://germany.keyserver.net/en/