[Zope] Re: ZOPECTL in daemon mode

John Poltorak jp at warpix.org
Wed Oct 20 15:03:26 EDT 2004


On Wed, Oct 20, 2004 at 08:09:54PM +0200, Dieter Maurer wrote:
> John Poltorak wrote at 2004-10-19 17:00 +0100:
> > ...
> >I guess what I want to know is how to specify the '-s' parameter to 
> >zdctl... I'm assuming that zopectl is the program that starts zdctl.
> 
> Maybe, you explain what you need to achieve...
> 
> I use "zdaemon" extensively and never felt the need to control
> its control socket (via "-s"). However, I use often the
> "socket-name" attribute in the "runner" section
> of the configuration file.
> 
> I checked Zope's schema and detected: the section is "zoperunner"
> for Zope -- but it lacks "socket-name".
> This means: a code change should really have a need to control
> the socket...

The reason I need to specify the name of the socket is because I'm running 
under OS/2 which handles sockets slightly differently and whereas the 
default socket name works under Unix, it doesn't under OS/2. The '-s' 
parameter to zdctl looks as though it might provide a convenient way of 
specifying the socket name, but I can't figure out where to invoke it.

Maybe I can specfify socket name in zope.conf... I don't know.

A recent OS/2 port of Python (2.3.4) provides support for AF_UNIX sockets 
but they need to by identified by OS/2 naming conventions. All I want to 
do is see how well this support works.
 
> -- 
> Dieter

-- 
John




More information about the Zope mailing list