From 918240a1e9da11bb5071a96b19c829a31aee6ab7 Mon Sep 17 00:00:00 2001 From: Maksym Sobolyev Date: Tue, 2 Apr 2024 14:36:24 -0700 Subject: [PATCH] Fix terminate call. --- rtp_cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtp_cluster.py b/rtp_cluster.py index fe6bba2..76f9acf 100755 --- a/rtp_cluster.py +++ b/rtp_cluster.py @@ -148,7 +148,7 @@ def terminate(signum): sip_logger = SipLogger('rtp_cluster') global_config['_sip_logger'] = sip_logger LogSignal(sip_logger, signal.SIGUSR1, reopen, logfile, 'SIGUSR1') - LogSignal(sip_logger, signal.SIGTERM, terminate) + LogSignal(sip_logger, signal.SIGTERM, terminate, signal.SIGTERM) sip_logger.write(' o initializing CLI...')