s6-rc-compile doesn't include 'check' script

From: Justin Ossevoort <oss_at_internetionals.nl>
Date: Fri, 30 Nov 2018 11:48:38 +0100


I've started using s6 and was migrating some things to s6-rc and I
noticed that it doesn't forward the 'check' script that I had to use for
one of the processes to the compiled directory (and later to the runtime
service directory). This forces me to hardcode the path to the
checkscript in my 'run' script instead of it being relocatable.

I suppose I could move it to the 'data' directory, but as
's6-notifyoncheck' by default searches for the 'check' script in the
service directory itself, that doesn't feel right.

And finally I somehow had the impression that the 'check' script was the
official script for liveness checks, but I can't recollect where I got
that impression from.

So I guess my question are:
- Is 'check' script for liveness checks considered a feature/convention
inside the s6 ecosphere?
- Should including it be considered for a feature request in s6-rc?


Received on Fri Nov 30 2018 - 10:48:38 UTC

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