Jan Klötzke
bf76080180
core: let user define start-/stop-timeout behaviour
...
The usual behaviour when a timeout expires is to terminate/kill the
service. This is what user usually want in production systems. To debug
services that fail to start/stop (especially sporadic failures) it
might be necessary to trigger the watchdog machinery and write core
dumps, though. Likewise, it is usually just a waste of time to
gracefully stop a stuck service. Instead it might save time to go
directly into kill mode.
This commit adds two new options to services: TimeoutStartFailureMode=
and TimeoutStopFailureMode=. Both take the same values and tweak the
behavior of systemd when a start/stop timeout expires:
* 'terminate': is the default behaviour as it has always been,
* 'abort': triggers the watchdog machinery and will send SIGABRT
(unless WatchdogSignal was changed) and
* 'kill' will directly send SIGKILL.
To handle the stop failure mode in stop-post state too a new
final-watchdog state needs to be introduced.
2020-06-09 10:04:57 +02:00
..
2019-10-25 16:43:18 +09:00
2019-03-27 11:53:12 +01:00
2020-04-23 08:55:08 +02:00
2020-05-07 14:39:44 +02:00
2019-10-05 08:08:24 +02:00
2019-04-03 17:27:20 +02:00
2020-04-23 17:13:50 +02:00
2020-04-23 17:13:50 +02:00
2019-07-29 15:54:53 +02:00
2019-07-29 15:54:53 +02:00
2020-05-17 10:02:03 +02:00
2020-05-17 10:02:03 +02:00
2019-09-16 18:08:53 +02:00
2020-05-29 15:40:01 +02:00
2020-05-29 15:40:01 +02:00
2019-10-31 17:57:03 +09:00
2019-06-25 09:56:16 +02:00
2020-04-16 20:37:40 +02:00
2020-03-24 14:22:50 +01:00
2020-05-07 08:46:40 -07:00
2020-05-07 08:46:40 -07:00
2020-05-05 22:27:03 +02:00
2020-05-05 22:27:03 +02:00
2020-02-05 12:47:32 +00:00
2020-01-22 12:34:10 +01:00
2019-07-16 12:40:22 +02:00
2019-03-13 17:41:41 +01:00
2020-06-09 10:04:57 +02:00
2019-03-13 17:41:41 +01:00
2020-05-25 11:09:21 +02:00
2020-05-07 08:46:40 -07:00
2020-05-06 16:54:06 +02:00
2019-11-28 09:14:22 +01:00
2020-04-23 14:53:54 +02:00
2019-07-11 12:18:51 +02:00
2020-05-15 16:07:29 +02:00
2020-05-05 08:57:14 +02:00
2019-11-04 00:30:32 +09:00
2019-09-16 18:08:00 +02:00
2019-11-20 17:51:28 +01:00
2019-05-22 10:08:17 +02:00
2020-04-16 18:00:40 +02:00
2019-12-17 20:03:40 +01:00
2019-11-04 00:30:32 +09:00
2019-03-14 13:25:51 +01:00
2020-05-18 20:20:50 +02:00
2020-05-15 16:05:33 +02:00
2020-06-03 18:26:12 +02:00
2020-06-03 18:26:12 +02:00
2020-04-09 14:08:48 +02:00
2020-04-09 14:08:48 +02:00
2020-03-16 08:57:28 +01:00
2020-03-16 08:23:18 +01:00
2019-10-01 13:34:06 +02:00
2019-12-18 11:09:30 -08:00
2020-05-18 18:41:56 +02:00
2020-01-29 19:29:44 +01:00
2019-11-04 00:30:32 +09:00
2019-07-05 02:19:24 +09:00
2019-11-04 00:30:32 +09:00
2019-12-27 15:10:24 +00:00
2019-07-19 16:51:14 +02:00
2020-05-29 15:41:43 +02:00
2020-01-16 18:46:56 +01:00
2020-05-11 19:43:40 +02:00
2020-04-29 18:57:13 +02:00
2019-05-30 20:41:42 -07:00
2019-05-30 20:41:42 -07:00
2019-08-05 16:38:20 +02:00
2019-07-29 19:05:25 +02:00
2019-11-04 00:30:32 +09:00
2019-03-22 18:11:27 +01:00
2019-11-04 00:30:32 +09:00
2020-05-09 08:49:31 +02:00
2020-05-06 15:40:15 +02:00
2019-07-05 02:31:12 +09:00
2020-05-26 17:10:54 +02:00
2020-04-01 10:36:28 +02:00
2019-04-12 08:30:31 +02:00
2020-04-01 17:30:34 +02:00
2020-01-21 20:23:13 +01:00
2020-03-25 14:52:31 +01:00
2020-03-25 14:52:31 +01:00
2020-05-26 23:38:15 +02:00
2020-01-30 12:46:03 -08:00
2020-04-09 14:38:02 +02:00
2020-04-09 14:38:02 +02:00
2020-01-15 15:27:59 +01:00
2020-01-15 15:27:59 +01:00
2020-04-08 17:11:20 +02:00
2020-01-15 15:27:04 +01:00
2020-01-23 23:32:13 +01:00
2020-01-23 23:32:13 +01:00
2020-01-20 21:10:31 +01:00
2020-01-20 21:10:31 +01:00
2020-04-28 22:47:21 +02:00
2020-06-03 18:26:12 +02:00
2020-05-05 21:50:31 +02:00
2020-05-17 05:34:19 +02:00
2020-05-17 05:34:19 +02:00
2019-07-15 18:41:27 +02:00
2019-11-28 09:14:22 +01:00
2020-02-27 19:52:08 +01:00
2020-02-27 19:52:08 +01:00
2020-03-09 14:55:21 +01:00
2020-05-26 09:01:26 +02:00
2020-04-29 16:32:46 +02:00
2020-01-15 15:26:51 +01:00
2020-01-15 15:26:51 +01:00
2019-04-23 23:52:15 +02:00
2019-07-24 09:07:30 +02:00
2019-07-24 09:06:50 +02:00
2019-01-11 17:37:36 +01:00
2019-07-04 10:36:00 +02:00
2020-05-29 10:41:30 +02:00
2020-05-05 16:37:45 +03:00
2020-01-09 11:18:06 +01:00
2019-12-18 08:48:33 +01:00
2019-12-23 14:43:59 +01:00
2019-11-04 00:30:32 +09:00
2020-05-14 17:35:56 +02:00
2020-05-14 17:35:56 +02:00
2019-12-04 10:59:59 +01:00
2020-05-19 09:29:45 +02:00
2020-03-03 15:02:53 +01:00
2020-05-06 16:54:06 +02:00
2020-05-15 21:40:22 +02:00
2020-01-02 20:05:42 +01:00
2020-01-02 20:05:42 +01:00
2020-05-26 10:28:59 +02:00
2020-03-03 21:17:38 +01:00
2020-03-16 08:23:18 +01:00
2020-03-16 08:23:18 +01:00
2019-12-18 11:24:44 +01:00
2020-03-31 06:48:03 -07:00
2020-03-02 18:27:55 +09:00
2019-11-04 00:30:32 +09:00
2020-01-15 15:29:31 +01:00
2020-01-15 15:29:31 +01:00
2019-03-01 12:41:32 +01:00
2020-04-16 18:00:40 +02:00
2019-12-18 11:24:44 +01:00
2020-05-29 10:41:30 +02:00
2020-05-29 10:41:30 +02:00
2020-04-16 19:46:40 +02:00
2019-09-16 18:08:01 +02:00
2020-05-06 23:03:25 +02:00
2019-12-05 10:15:49 +01:00
2019-07-17 10:42:53 -04:00
2020-04-22 19:38:04 +02:00
2020-06-03 18:26:34 +02:00
2019-11-11 12:11:56 -08:00
2019-06-28 11:35:05 +02:00
2019-11-04 00:30:32 +09:00
2019-09-16 18:06:20 +02:00
2020-05-05 22:34:17 +02:00
2020-05-05 22:34:17 +02:00
2020-06-02 19:32:20 +02:00
2020-01-05 20:15:38 -08:00
2020-05-07 22:36:52 +02:00
2020-05-07 22:36:52 +02:00
2019-11-15 11:11:52 +01:00
2019-11-15 11:11:52 +01:00
2019-11-15 11:11:14 +01:00
2019-11-15 11:11:14 +01:00
2020-05-07 17:36:44 +02:00
2020-05-07 17:36:44 +02:00
2019-11-04 00:30:32 +09:00
2020-01-30 10:48:27 +01:00
2020-04-16 18:00:40 +02:00
2020-04-16 18:00:40 +02:00
2020-03-19 16:23:27 +01:00
2020-06-05 11:09:17 +02:00
2020-06-05 11:09:17 +02:00
2019-03-13 12:16:43 +01:00
2020-05-30 16:50:05 +02:00
2020-05-30 16:50:05 +02:00
2020-04-09 14:38:02 +02:00
2020-04-09 14:38:02 +02:00
2020-05-08 11:26:03 +02:00
2020-01-15 15:27:59 +01:00
2020-05-07 23:32:41 +02:00
2020-05-07 23:32:41 +02:00
2020-04-11 16:08:33 +02:00
2020-04-09 14:38:02 +02:00
2019-11-04 00:30:32 +09:00
2020-04-21 23:21:08 +02:00
2020-01-31 15:03:27 +01:00
2020-05-05 18:04:55 +02:00
2020-05-05 18:04:55 +02:00
2019-07-05 16:35:06 +09:00
2019-07-05 16:35:06 +09:00
2019-03-01 14:11:07 +01:00
2019-03-01 14:11:06 +01:00
2020-04-21 23:21:08 +02:00
2020-04-16 16:32:05 +02:00
2019-10-25 16:43:18 +09:00
2019-10-25 16:43:18 +09:00
2019-11-04 00:30:32 +09:00