[Zodb-checkins] CVS: ZODB3/Doc/ZEO - SIGNALS.txt:1.3

Guido van Rossum guido@python.org
Thu, 10 Oct 2002 22:20:44 -0400


Update of /cvs-repository/ZODB3/Doc/ZEO
In directory cvs.zope.org:/tmp/cvs-serv29045

Modified Files:
	SIGNALS.txt 
Log Message:
Update signal handling docs.


=== ZODB3/Doc/ZEO/SIGNALS.txt 1.2 => 1.3 ===
--- ZODB3/Doc/ZEO/SIGNALS.txt:1.2	Thu Oct 10 10:52:58 2002
+++ ZODB3/Doc/ZEO/SIGNALS.txt	Thu Oct 10 22:20:43 2002
@@ -7,26 +7,22 @@
   signals which are sent to the process id written to the file
   'ZOPE_HOME/var/ZEO_SERVER.pid'::
 
-     SIGHUP -  Rotate log files.
-
-               kill -HUP `cat ZOPE_HOME/var/ZEO_SERVER.pid`
-
      SIGTERM - Close open storages and sockets, then shut down.
 
                kill -TERM `cat ZOPE_HOME/var/ZEO_SERVER.pid`
 
-     SIGINT  - Close open storages and sockets, then restart.
+     SIGHUP  - Close open storages and sockets, then restart.
+
+               kill -HUP `cat ZOPE_HOME/var/ZEO_SERVER.pid`
+
+     SIGUSR2 - Rotate log files.
 
-               kill -INT `cat ZOPE_HOME/var/ZEO_SERVER.pid`
+               kill -USR2 `cat ZOPE_HOME/var/ZEO_SERVER.pid`
 
-  The pid file contains two pids: the pid of the parent process and
-  the pid of the child process, in that order.  The child process is
-  always the actual storage server process.  When using zdaemon (the
-  default), the parent is the zdaemon process.  Otherwise (when the -s
-  option is used), the parent is the shell (script) that started the
-  storage server.  (XXX The usefulness of writing both pids is
-  unclear.)
+  When using zdaemon (the default), the pid file contains the pid of
+  the zdaemon process.  Otherwise (when the -s option is used), the
+  pid file contains the storage server's own pid.
 
   Note that zdaemon forwards signals to the child process.
   Specifically, it forwards all those signals listed above, plus
-  SIGQUIT and SIGUSR1.
+  SIGINT, SIGQUIT and SIGUSR1.