[ZCM] [ZC] 2318/ 1 Request "Allow override of zopectl control socket"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Mon Apr 30 12:41:58 EDT 2007


Issue #2318 Update (Request) "Allow override of zopectl control socket"
 Status Pending, Zope/bug+solution medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/2318

==============================================================
= Request - Entry #1 by tseaver on Apr 30, 2007 12:41 pm


Uploaded:  "zopectl_sockname_override.patch"
 - http://www.zope.org/Collectors/Zope/2318/zopectl_sockname_override.patch/view
The zdaemon subclass used by zopectl does not allow setting the
control socket it uses to talk to the daemonized child process;
it hardwires the location of that socket to:

  $INSTANCE_HOME/var/zopectlsock

The attached patch adds a key to the '<zoperunner>' section, along
with handler code, to enable overriding this socket path, as can
be done currently with the corresponding ZEO server config.  Such
an override would look like:

  <zoperunner>
    socket-name /var/run/zopectl.sock
  </zoperunner>

The patch is made against the Zope 2.10 branch, and applies cleanly
to the 2.8 branch, the 2.9 branch, and the trunk.
==============================================================



More information about the Zope-Collector-Monitor mailing list