[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gconf craziness



 >>>>> On Thu, 03 Jun 2004 17:33:49 -0700, Rob Adams
 >>>>> <readams@readams.net> was rumoured to have said:

 > The standard way to tell a process to die nicely is with SIGINT, which
 > is the default signal used by kill, pkill, and killall.  -9 (or SIGKILL)
 > is an uncatchable signal, while HUP and INT are both catchable.
 > Processes that do not catch signals will use the default signal handler
 > which is to immediately exit without saving anything.

 > So if you want programs to die and you want to be nice, use INT.  If you
 > want programs to reload their config if they support it or die trying,
 > use HUP.

Actually, the default signal sent by the kill family of commands is 15, aka
SIGTERM. But processes designed to die gracefully will usually catch both
TERM and INT, so the above advice is still valid.


 > -Rob

[snip]


Rgds,
/-sb.



Reply to: