These patches provide clean signal handling and logfile rotation to Zope.
Chris McDonough authored
All Zope process will respond to signals in the specified manner:

  SIGHUP -  close open database connections and sockets, then restart the
            process

  SIGTERM - close open database connections and sockets, then shut down.

  SIGINT  - same as SIGTERM

  SIGUSR2 - rotate all Zope log files (z2.log, event log, detailed log)

The common idiom for doing automated logfile rotation will become:

kill -USR2 `cat /path/to/var/z2.pid`

The common idiom for doing "prophylactic" restarts will become:

kill -HUP `cat /path/to/var/z2.pid`

When a process is interrupted via ctrl-C or via a TERM signal (INT, TERM),
all open database connections and sockets will be closed before
the process dies.  This will speed up restart time for sites that
use a FileStorage as its index will be written to the filesystem before
shutdown.

Unspecified signals kill the process without doing cleanup.
f1f9d02d
Welcome to the Zope source release


  This document provides some general information about the Zope
  source release and provides links to other documents.

  Installation information can be found in doc/INSTALL.txt. Other
  documentation is also in the doc directory.

  Zope information is available at http://www.zope.org/

  Report problems with this release on the Zope mailing list
  (zope@zope.org) To subscribe to the list send mail to
  zope-request@zope.org with "subscribe" in the subject line.

Introduction

  The source release is intended for tinkerers, those who want
  to use Zope components separately, Bobo hackers, people who
  want to use their own Python, and people who work on obscure
  platforms because they love to compile everything from source.

  If you just want to use Zope easily and aren't a programmer
  the binary release will probably suit you better.  All are
  available at http://www.zope.org/Download


License

  The Zope License is included in LICENSE.txt Send your feedback
  about the license to zope-license@zope.org. 

Important

  This release requires Python 2.1.

Installing Zope

  Follow the instructions in doc/INSTALL.txt to install Zope. 

Using Zope Components Separately

  Zope consists of many Python packages which can be profitably
  used by themselves. For example you will find all your old friends
  from Bobo here:

    * ZPublisher - A packagized version of the Bobo ORB you know and
      love.

    * DocumentTemplate - This package includes cDocumentTemplate which
      speeds things up considerably.

    * BoboPOS - This is NOT ZODB 3. It a version of BoboPOS2 which
      include c code to make things faster.

  You can find most of these packages in the lib/python directory. If
  you poke around, you might find other goodies too, like StructuredText.

  ZPublisher and DocumentTemplate are also available separately.

Notes

  * Zope requires Python 2.1.

  * Lots more documentation is coming.

  * Don't forget to check the Zope web site and mailing list.

  * Read the source, have fun!