[Lazarus] Finding out how a program's being terminated

Ludo Brands ludo.brands at free.fr
Sat Feb 16 13:36:44 CET 2013


>>
>> If I'd need to guess than I'd say that this is the script executed by
>> Slackware's init process if run level is 6.
> 
> Yes, but I'm making the point that at least on that system it's not
> something implicit to init. Debian looks like it does it differently,
> but I'd imagine that the end result is pretty much the same.
> 

Debian has shuffled the names a bit but the principle is the same.
/etc/init.d/rc calls eventually /etc/init.d/sendsigs and in that script
you'll find
killall5 -15 $OMITPIDS # SIGTERM
followed a little later by
killall5 -9 $OMITPIDS # SIGKILL

Ludo





More information about the Lazarus mailing list