Comment 9 for bug 795025

Revision history for this message
John A Meinel (jameinel) wrote :

I've done bug #824797 (at least a rough cut), and it seems easy to add this on top of that. I'm thinking either SIGKILL or SIGHUP would be appropriate to send to the running process to say "finish your sentence and hangup". Is there some other signal that would be more appropriate?
Looking here: http://en.wikipedia.org/wiki/Signal_%28computing%29

SIGTERM, SIGHUP, SIGSTOP, SIGINT, SIGUSR1, SIGUSR2 all seem like they could be used

I'm guessing it doesn't really matter as long as it is well documented. I'll probably go with SIGTERM, since it is the "terminate nicely" command, though I've certainly seen SIGHUP used by daemons to mean "hangup" and restart/reload your data.