[PATCH 2/4] supervise: Document arguments to ./finish

From: Olivier Brunel <jjk_at_jjacky.com>
Date: Sun, 18 Jan 2015 21:13:56 +0100

Signed-off-by: Olivier Brunel <jjk_at_jjacky.com>
---
 doc/s6-supervise.html | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/doc/s6-supervise.html b/doc/s6-supervise.html
index b080626..dca437c 100644
--- a/doc/s6-supervise.html
+++ b/doc/s6-supervise.html
_at_@ -45,6 +45,8 @@ If it already exists, it uses it as is, without modifying the subscription right
 successfully spawns <tt>./run</tt>. </li>
  <li> When <tt>./run</tt> dies, s6-supervise sends a <tt>'d'</tt> event to <tt>./event</tt>. </li>
  <li> When <tt>./run</tt> dies, s6-supervise spawns <tt>./finish</tt> if it exists. </li>
+ <li> <tt>./finish</tt> will have the return code as first argument, or 256 if
+<tt>./run</tt> was signaled, and the signal number as second argument. </li>
  <li> <tt>./finish</tt> must exit in less than 5 seconds. If it takes more than that,
 s6-supervise kills it. </li>
  <li> When <tt>./finish</tt> dies, s6-supervise restarts <tt>./run</tt> unless it has been
-- 
2.2.2
Received on Sun Jan 18 2015 - 20:13:56 UTC

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