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
JonathanCoe commented 2014-08-26 14:08:10 +02:00 (Migrated from github.com)

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.

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.
This repo is archived. You cannot comment on pull requests.
No description provided.