[systemd-devel] Failed state DBUS notification not received on sigkill of service
Lennart Poettering
lennart at poettering.net
Fri Oct 5 17:36:52 UTC 2018
On Do, 27.09.18 14:22, prashantkumar dhotre (prashantkumardhotre at gmail.com) wrote:
> 1) Is this a bug ?
> 2) Why service is put to failed state on sigkill ?
> 3) if putting service into failed state on sigkill is right thing to do ,
> they why dbus notification is not being sent in case of service that
> supports restart.
I am not sure I follow. But do note that if Restart= is turned on an
configured properly, then systemd will transition the unit into
"auto-restart" state instead of "failed".
SIGKILL is not consiered a "clean" exit status by default. You can
configure that with SuccessExitStatus= however.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list