Re: s6: something like runit's ./check script

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Tue, 8 Sep 2015 14:50:32 +0200

On 08/09/2015 14:10, Jan Bramkamp wrote:

> How would the ./run script or more likely the daemon it exec()ed into
> die from a failed child process?

  The child process could s6-svc -t if it fails to find readiness, for
instance. There should be an option in the polling tool to kill the
daemon if the polling does not succeed.
  I went too far in saying "the run script will die": there needs to
be support for that, indeed. But "the service is stuck" problem is
easy to fix.

-- 
  Laurent
Received on Tue Sep 08 2015 - 12:50:32 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC