diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-08-19 11:12:49 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-08-19 11:12:49 +0000 |
commit | 977636aa5f5ae771fe42dcb2787b8fea5fb3dff9 (patch) | |
tree | 3cc0d1b9c013ae2f4fdb4f5eb4f4a3eb31e67250 /doc | |
parent | 4421cac76d2a9151b6347d529619002160eadcb5 (diff) | |
download | s6-977636aa5f5ae771fe42dcb2787b8fea5fb3dff9.tar.xz |
Doc update: more mentions of the finish script's arguments
Diffstat (limited to 'doc')
-rw-r--r-- | doc/servicedir.html | 5 |
1 files changed, 4 insertions, 1 deletions
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 <tt>finish</tt> execution can be -configured via the <tt>timeout-finish</tt> file, see below. </li> +configured via the <tt>timeout-finish</tt> 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). </li> <li> A directory named <tt>supervise</tt>. It is automatically created by <a href="s6-supervise.html">s6-supervise</a> if it does not exist. This is where <a href="s6-supervise.html">s6-supervise</a> stores its information. The directory |