Commit 8e7bda32 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

Merge branch 'patch-avs-nt-signal-handler' into 'master'

Not setup signal.SIGHUP hanler for NT system.

See merge request noc/noc!6267
parents b6c3f6ca bde4b55a
......@@ -258,7 +258,11 @@ class BaseService(object):
Set up signal handlers
signal.signal(signal.SIGTERM, self.on_SIGTERM)
signal.signal(signal.SIGHUP, self.on_SIGHUP)
if == "nt":
# Ctrl+C. For cancel traced Ctrl + Break
signal.signal(signal.SIGINT, self.on_SIGTERM)
signal.signal(signal.SIGHUP, self.on_SIGHUP)
def set_proc_title(self):
Supports Markdown
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