[Zope3-dev] Re: Exiting ZX3

Peter Mayne PeterMayne at ap.spherion.com
Thu Dec 9 18:44:38 EST 2004


Tres Seaver wrote:
> Peter Mayne wrote:

>> I'm actually trying to terminate the server from the inside. We're 
>> using ZX3 to run a standalone application from a CD, and we need to 
>> shut things down gracefully.
> 
> 
>   from zope.app.server.servicecontrol import serverControl
>   serverControl.shutdown()

from zope.app.server.servercontrol import serverControl
                          ^^

Excellent, thanks.

PJDM
-- 
Peter Mayne
Spherion Technology Solutions
Canberra, ACT, Australia
"I'm after rebellion, I'll settle for lies" - Blue Oyster Cult



More information about the Zope3-dev mailing list