Re: [Zope-dev] Windows registry?
On 12 Feb 2001, 23:04 Chris Maresca wrote: If I recall correctly, there is a tool for doing this call srvany, part of the resource kit. I use srvany for running some background services written in Python on some of my servers. It works so far, but not as reliable as I'd like - especially stopping/restarting a service often fails, which is a PITA. Mine installed as a service on w2k by default... This doesn't use svrany.exe, but pythonservice.exe, which is part of the win32 extensions written by Mark Hammond, now with ActiveState. "Python programming on Win32" by Mark Hammond and Andy Robinson contains some documentation on how to use pythonservice.exe. The Windows version of Zope makes use of this driver program, when installing Zope as a service. The relevant logic for running Zope as a Windows service is contained in Zserver/ZService.py. I intend to switch from svrany to using pythonservice.exe for the aforementioned reason. That's almost all I know about this specific topic at this time; I'd suggest that Andy McKay might ask his colleague Mark about pythonservice.exe, instead of doing guesswork :-) Chris. On Mon, 12 Feb 2001, Andy McKay wrote: Anyone tried or got a script to create / delete the windows registry settings for running a zope server as a service. It would make my life a lot easier... If no-one has I could recreate them from observation. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_=== Schloss Birlinghoven, std.disclaimer __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Windows registry?
This doesn't use svrany.exe, but pythonservice.exe, which is part of the win32 extensions written by Mark Hammond, now with ActiveState. "Python programming on Win32" by Mark Hammond and Andy Robinson contains some documentation on how to use pythonservice.exe. The Windows version of Zope makes use of this driver program, when installing Zope as a service. The relevant logic for running Zope as a Windows service is contained in Zserver/ZService.py. I intend to switch from svrany to using pythonservice.exe for the aforementioned reason. That's almost all I know about this specific topic at this time; I'd suggest that Andy McKay might ask his colleague Mark about pythonservice.exe, instead of doing guesswork :-) I just wanted know details of how the registry is set up so I can quickly fiddle with my service settings and write a script to quickly install and uninstall the services to make moving Zope's much easier on win32. It looks like everything I need to know is in ZServer/ZService, I should have just done my usual source grep before asking... Mark actually works in Australia most of the time so asking him isn't as easy as it sounds... Thansk. Chris. On Mon, 12 Feb 2001, Andy McKay wrote: Anyone tried or got a script to create / delete the windows registry settings for running a zope server as a service. It would make my life a lot easier... If no-one has I could recreate them from observation. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_=== Schloss Birlinghoven, std.disclaimer __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Windows registry?
If I recall correctly, there is a tool for doing this call srvany, part of the resource kit. Mine installed as a service on w2k by default... Chris. On Mon, 12 Feb 2001, Andy McKay wrote: Anyone tried or got a script to create / delete the windows registry settings for running a zope server as a service. It would make my life a lot easier... If no-one has I could recreate them from observation. Cheers. -- Andy McKay. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) -- chris maresca internet systems architect -- www.chrismaresca.com "linux, only up 41 days, because a new electrical circuit was added..." ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )