From ce49b0504c523820be6ba33ac370da19bf75d9eb Mon Sep 17 00:00:00 2001
From: Laurent Bercot
+ If a down transition fails, s6-rc does nothing with it. The service +has already received a SIGTERM, and may be stuck in the process of exiting; +or it may already have died but is stuck in a bad finish script +that is not timing out. In any case, it is not a situation that s6-rc +can recover from; the service is most likely down, but the administrator +should manually check their process list. And fix their scripts, or +timeout values, because a down transition failure is always a +programmer or sysadmin error. +
+ ++ If an up transition fails, s6-rc sends an explicit +s6-svc -d command to +the longrun. This ensures the service is in a known down state +when failing to go up, instead of (for instance) being stuck in a not-ready +limbo state. +
+ ++ Note that proper usage of the timeout-kill and timeout-finish +values in the longrun's definition directory can considerably reduce the +number of cases where the service is left in an unknown state. +
+Transitions are supposed to be idempotent, but it is a general rule of supervision that run and finish scripts @@ -310,6 +335,21 @@ each simulated transition will take dryrunthrottle milliseconds to complete successfully.
++ s6-rc change reacts to the following signals: +
+ +s6-rc change myservicebundle-- cgit v1.2.3