Re: [PATCH 0/4] Add info on why process is down to statusfile

From: Laurent Bercot <>
Date: Wed, 21 Jan 2015 19:03:51 +0100

On 21/01/2015 18:16, Olivier Brunel wrote:
> So in the doc you mention how "format and contents of this file are
> subject to change"; not to be a PITA but in that case I think it would
> be a good idea to have functions to read (and write?) that file in
> libs6, similar to what is available for the statusfile.
> So if external tool wanted to use/read the ready file, they could do it
> (properly).

  Yeah, I thought about it, but right now I just wanted to have something
working. I don't think the format is going to change too much, I simply
didn't want to hard commit to not changing it; I'm not planning to add
more stuff to the ready file, unless it's reaaaaally related to the
service being ready, not only up.

  If/when the ready file format changes, I'll provide a clean API around
it. For now, consider that the presence/absence of the file is the API,
and s6-svstat is the API if you want the notion of time.

Received on Wed Jan 21 2015 - 18:03:51 UTC

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