[Zope] Re: zeo.conf socket

Michele Marcionelli michele.marcionelli at math.ethz.ch
Wed Dec 15 16:24:36 EST 2004


Hi John,

> Do you have an example of this?

Of course. A default one is automatically generated with 
'mkzeoinstance.py' (Zope-2.7.3):

--- begin of zeo.conf ----------------------------------------
# ZEO configuration file

%define INSTANCE /scratch/zope/zeo

<zeo>
   # address 9999
   address /scratch/zope/.zeo-socket
   read-only false
   invalidation-queue-size 100
   # monitor-address PORT
   # transaction-timeout SECONDS
</zeo>

<filestorage 1>
   path $INSTANCE/var/Data.fs
</filestorage>

<eventlog>
   level info
   <logfile>
     path $INSTANCE/log/zeo.log
   </logfile>
</eventlog>

<runner>
   program $INSTANCE/bin/runzeo
   # socket-name $INSTANCE/etc/zeo.zdsock
   daemon true
   forever false
   backoff-limit 10
   exit-codes 0, 2
   directory $INSTANCE
   default-to-interactive true
   # user zope
   user zope
   python /usr/local/bin/python2.4
   zdrun /scratch/local/app/zope/2.7.3/lib/python/zdaemon/zdrun.py

   # This logfile should match the one in the zeo.conf file.
   # It is used by zdctl's logtail command, zdrun/zdctl doesn't write it.
   logfile $INSTANCE/log/zeo.log
</runner>
--- end of zeo.conf ------------------------------------------

Regards, Michele

> I've been looking for a way of specifying the name of a socket, but 
> have
> been able to do it so far.


-- 
Michele Marcionelli - webmaster at math - Phone: +41 1 632 6193
Address: HG G 14 - Raemistrasse 101 - 8092 Zürich - Switzerland


More information about the Zope mailing list