1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-04 21:47:31 +03:00
Jan Klötzke dc653bf487 service: handle abort stops with dedicated timeout
When shooting down a service with SIGABRT the user might want to have a
much longer stop timeout than on regular stops/shutdowns. Especially in
the face of short stop timeouts the time might not be sufficient to
write huge core dumps before the service is killed.

This commit adds a dedicated (Default)TimeoutAbortSec= timer that is
used when stopping a service via SIGABRT. In all other cases the
existing TimeoutStopSec= is used. The timer value is unset by default
to skip the special handling and use TimeoutStopSec= for state
'stop-watchdog' to keep the old behaviour.

If the service is in state 'stop-watchdog' and the service should be
stopped explicitly we still go to 'stop-sigterm' and re-apply the usual
TimeoutStopSec= timeout.
2019-04-12 17:32:52 +02:00
..
2019-03-14 14:42:05 +01:00
2019-03-14 14:42:05 +01:00
2018-06-14 13:03:20 +02:00
2019-03-14 14:42:05 +01:00
2019-03-14 14:42:05 +01:00
2019-03-14 14:42:05 +01:00
2019-03-14 14:42:05 +01:00
2019-04-12 10:12:41 +09:00
2019-04-08 14:34:05 +02:00
2019-03-14 14:42:05 +01:00
2019-03-14 14:42:05 +01:00
2019-03-14 14:42:05 +01:00