core: rework when we kill with which signal
authorLennart Poettering <lennart@poettering.net>
Tue, 1 Sep 2015 16:54:08 +0000 (18:54 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 1 Sep 2015 16:54:08 +0000 (18:54 +0200)
commitd06673212e7672da44d5147d1d393278d9b1b478
tree80e7c639ca3ce8b08487845f4f00d85890ff7d5c
parent102ef9829ed72d3991cb73bc893880d715e667c5
core: rework when we kill with which signal

When the user wants to explicitly send our own PID a signal, then do so.

Don't follow up SIGABRT with a SIGHUP if send_sighup is enabled. At that
point the process should have segfaulted, hence there's no point in
following up with a SIGHUP.

Send only termination signals to ourselves, never KILL or ABRT signals.
src/core/unit.c