Merge pull request #709 from JonathanCoe/master

Catch the standard Unix SIGTERM kill signal and do a graceful shutdown
master
Jonathan Warren 9 years ago
commit 6e9f6d54d2

@ -172,6 +172,7 @@ class Main:
curses = True
signal.signal(signal.SIGINT, helper_generic.signal_handler)
signal.signal(signal.SIGTERM, helper_generic.signal_handler)
# signal.signal(signal.SIGINT, signal.SIG_DFL)
helper_bootstrap.knownNodes()

Loading…
Cancel
Save