Signed-off-by: Olivier Brunel <[email protected]>
---
 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
@@ -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

Reply via email to