Bitmessage/PyBitmessage — pull request #709 by JonathanCoe (2014-08-26 12:08:10+00:00)
Title: Catch the standard Unix SIGTERM kill signal and do a graceful shutdown

We already do this for the SIGINT kill signal. The change allows us to also do a clean shutdown of PyBitmessage when its process has been separated from the terminal. Otherwise, an attempt to stop the PyBitmessage process simply terminates it, and we lose any data not already written to disk.