Catch the standard Unix SIGTERM kill signal and do a graceful shutdown #709

Merged
JonathanCoe merged 1 commits from master into master 2014-10-13 05:31:01 +02:00
Showing only changes of commit 3b42805efc - Show all commits

View File

@ -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()