Handle SIGTERM with a graceful quit (like KeyboardInterrupt)
Brought to you by:
herrekberg
An attempt to address the request in Bug ID: 3036117
The patch installs a signal handler for SIGTERM in comix.py.
The signal handler queues window.terminate_program in the gtk loop to achieve the graceful shutdown.
It can be applied to the trunk svn with:
cd trunk/src
patch -p0 -i handle_sigterm_gracefully.patch
Handle SIGTERM like KeyboardInterrupt (i.e. gracefully) address bugID: 3036117
Thanks. Applied into my fork repository (github.com/HoverHell/Comix/).