Commit 5ec11315 authored by Guido van Rossum's avatar Guido van Rossum

Add a SIGHUP handler -- it calls sys.exit(1).

parent 16b41525
......@@ -203,6 +203,10 @@ class ZEOServer:
info("terminated by SIGINT")
sys.exit(0)
def handle_sighup(self):
info("restarted by SIGHUP")
sys.exit(1)
def handle_sigusr2(self):
# This requires a modern zLOG (from Zope 2.6 or later); older
# zLOG packages don't have the initialize() method
......
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