[Zope] ZServer as a windows NT service?

Paul Everitt Paul@digicool.com
Tue, 9 Mar 1999 10:21:40 -0500


Dick wrote:
> startup. However, I am betting that this runs the 
> ZopeHTTPServer, not the

Not quite.  ZopeHTTPServer is a console app just like ZServer.  The
service is a PCGI-like thing that runs Zope as a service, listening for
named pipe connections from something that is run as a CGI by the web
server.

> ZServer which I got as a separate download. I have everything 
> working just
> lovely with the ZServer now, but it needs to be run as an NT 
> service (and
> respond to start and stop signals, etc) at which point I 
> freely admit my
> own inadequacies in this area.

ZServer is still at alpha 2 so it's premature to focus on things like
how it is packaged.  I *think* we have all the issues figured out and
the next release, perhaps this month, will be a beta1.  Until we get
into beta, we'll have to hope that someone in the community packages it
up as a service.
 
> Now my question. How can I do what I need to do. Is it simply 
> a case of
> redirecting a python 'shell' file used by the service to the 
> start.py in
> the ZServer module, or is there more to it? If it is this 
> simple, which
> python 'shell' file do I use? If it is not this simple, can 
> someone send me
> basic instructions on how to do it (why is NT like this - give me an
> rc.local file any day - I know where I stand with that stuff).

One issue off the top of my head is integration with the NT Event Log.

--Paul