From e1026367525f66350c6e66ee9f809b289ae655ee Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 4 Dec 2020 10:03:03 +0000 Subject: Document lastfinish behaviour --- doc/servicedir.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/servicedir.html b/doc/servicedir.html index d8d7c8d..8b6871f 100644 --- a/doc/servicedir.html +++ b/doc/servicedir.html @@ -113,6 +113,10 @@ the signal that killed the run script).
  • If the finish script exits 125, then s6-supervise interprets this as a permanent failure for the service, and does not restart it, as if an s6-svc -O command had been sent.
  • +
  • If s6-supervise has been instructed to exit after +the service dies, via a s6-svc -x command or a SIGHUP, then the next +invocation of finish will (obviously) be the last, and it will run with +stdin and stdout pointing to /dev/null.
  • A directory named supervise. It is automatically created by s6-supervise if it does not exist. This is where -- cgit v1.2.3