From c6fd758acf0525dd28d0c432d74c27065d11e0fb Mon Sep 17 00:00:00 2001 From: Seth Schoen Date: Sat, 17 Nov 2012 00:58:45 -0800 Subject: [PATCH] here, the attempt to log the fact that the session succeeded caused the daemon to crash (!) --- server-ca/payment-daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-ca/payment-daemon.py b/server-ca/payment-daemon.py index 8c97a35e3..5bd7a6b85 100755 --- a/server-ca/payment-daemon.py +++ b/server-ca/payment-daemon.py @@ -32,7 +32,7 @@ ps = r.pubsub() debug = "debug" in sys.argv clean_shutdown = False -from daemon_common import signal_handler +from daemon_common import signal_handler, short signal.signal(signal.SIGTERM, signal_handler) signal.signal(signal.SIGINT, signal_handler)