On Fri, Dec 09, 2005 at 10:48:49AM +0000, Chris Withers wrote:
John Poltorak wrote:
Are you saying that Zope cannot be restarted through ZMI on Windows?
Who does that anyway?
Even on unix, I use zopectl restart,
That is the point - zopectl uses a socket - 'zdsock'.
At the moment, the problem is being able to provide an alternative socket name via a command line parameter which is a feature that is supposed to be already provided by zdctl, but no one seems to know how it works, so I have no way of knowing whether it can be made to work on my OS or not.
Well, I'm afraid that's how open source works. Yours is the itch, better get scratching ;-)
Tres gave you some hints, in that basically you want to surface that ooption in zope.conf. Reading the code in the Zope.Startup package would be where I'd start, although I warn you it's a little contorted :-S
Well maybe you can explain what is the point of the '-s' flag or sample.conf. Is it meant to be helpful? I don't even see it mentioned in the documentation. Am I missing something?
cheers,
Chris
-- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
-- John