Commit c759f564 authored by Guido van Rossum's avatar Guido van Rossum

Apply similar changes as ChrisM applied to Zope/doc/SIGNALS.txt.

parent 092f2fa0
Signals are a posix inter-process communications mechanism. If you Signals (POSIX only)
are using Windows then this documentation is not for you.
The ZEO storage server process (started with ZEO/start.py) responds to Signals are a POSIX inter-process communications mechanism.
signals which are sent to the process id written to the file If you are using Windows then this documentation does not apply.
.../var/ZEO_SERVER.pid.
SIGHUP - Rotate the log files. The ZEO storage server process (started with ZEO/start.py) responds to
kill -SIGHUP `cat .../var/ZEO_SERVER.pid` 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. SIGTERM - Close open storages and sockets, then shut down.
kill -SIGTERM `cat .../var/ZEO_SERVER.pid`
kill -TERM `cat ZOPE_HOME/var/ZEO_SERVER.pid`
SIGINT - Close open storages and sockets, then restart. SIGINT - Close open storages and sockets, then restart.
kill -SIGINT `cat .../var/ZEO_SERVER.pid`
kill -INT `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 pid file contains two pids: the pid of the parent process and
the actual storage server process. When using zdaemon (the default), the pid of the child process, in that order. The child process is
the parent is the zdaemon process. Otherwise (when the -s option is always the actual storage server process. When using zdaemon (the
used), the parent is the shell (script) that started the storage default), the parent is the zdaemon process. Otherwise (when the -s
server. option is used), the parent is the shell (script) that started the
storage server. (XXX The usefulness of writing both pids is
Note that zdaemon forwards signals to the child process. unclear.)
(Specifically, it forwards all those signals listed above, plus
SIGQUIT and SIGUSR1.) Note that zdaemon forwards signals to the child process.
Specifically, it forwards all those signals listed above, plus
SIGQUIT and SIGUSR1.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment