-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Baiju M wrote:
> Hi,
>     Any pointers to restart Zope 2 (ZServer) gracefully ?
> 
> Does "Lifetime.shutdown(1)" will do that ?

That will do a restart, assuming that Zope is running under a "daemon
manager" (e.g., from 'zopectl', or Windows services).  If you want to
stop the server completely, pass an exit code of 0.

See the code in App/ApplicationManager.py for 'manage_restart' and
'manage_shutdown'.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tsea...@palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktquV0ACgkQ+gerLs4ltQ6uKACcCImliqgaWheGMvRhruihThJ2
SwUAnRFGv1vpqSUl/IQmJmwabR5ceZYS
=ziG9
-----END PGP SIGNATURE-----

_______________________________________________
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to