Skip to content

Fix KCrash usage inside a systemd unit

Henri Chain requested to merge work/systemd-fix into master

Systemd will send a SIGTERM to units that are failing (such as services with Type=dbus that drop off the bus), however if the process is crashing and built with KCrash, the SIGTERM will end the process cleanly while it is waiting for drkonqi to finish.

This patch makes the process crash with the original signal in this case, so that systemd sees the service as crashed and can save the crash dump, and restart if needed.

@sitter

Merge request reports