]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/service.c
service: execute ExecStopPost= commands when the watchdog timeout hits
authorLennart Poettering <lennart@poettering.net>
Thu, 6 Jun 2013 07:10:12 +0000 (09:10 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 6 Jun 2013 07:10:12 +0000 (09:10 +0200)
commitaf4713396cff773beb56fef23cd8a9a3803670ab
treed30d3fc8bbe09246d63040cfc1c772e4b4c60af9
parent1cce5d639cdcb3b237e2eda3c36782f98ff23b46
service: execute ExecStopPost= commands when the watchdog timeout hits

We can assume that a service for which a watchdog timeout was triggered
is unresponsive to a clean shutdown. However, it still makes sense to
execute the post-stop cleanup commands that can be configured with
ExecStopPost=. Hence, when the timeout is hit enter STOP_SIGKILL rather
than FINAL_SIGKILL.
src/core/service.c