From 977636aa5f5ae771fe42dcb2787b8fea5fb3dff9 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 19 Aug 2016 11:12:49 +0000 Subject: Doc update: more mentions of the finish script's arguments --- doc/servicedir.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/servicedir.html b/doc/servicedir.html index 8e27bfc..98929bb 100644 --- a/doc/servicedir.html +++ b/doc/servicedir.html @@ -92,7 +92,10 @@ its work and exit in less than 5 seconds; if it takes more than that, it is killed. (The point is that the run script, not the finish script, should be running; the finish script should really be short-lived.) The maximum duration of a finish execution can be -configured via the timeout-finish file, see below. +configured via the timeout-finish file, see below. The finish script is +executed with two arguments: the exit code from the run script (resp. 256 if the +run script was killed by a signal), and an undefined number (resp. the number of +the signal that killed the run script).
  • A directory named supervise. It is automatically created by s6-supervise if it does not exist. This is where s6-supervise stores its information. The directory -- cgit v1.2.3