commit 74f8a7206b244948654235a771f4ee3f1f3c0642
parent fed5c86b9340fe678cfec52099d3dbd03e6026f2
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Sat, 19 Sep 2015 11:24:28 +0000
servicedir doc fix
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/doc/servicedir.html b/doc/servicedir.html
@@ -87,10 +87,12 @@ is executed everytime the <tt>run</tt> script dies. Generally, its main
purpose is to clean up non-volatile data such as the filesystem after the supervised
process has been killed. If the <em>foo</em> service is supposed to be up,
<em>foo</em><tt>/run</tt> is restarted
-after <em>foo</em><tt>/finish</tt> dies. A finish script must do its work and exit in less than
-3 seconds; if it takes more than that, it is killed. (The point is that the run
+after <em>foo</em><tt>/finish</tt> dies. By default, a finish script must do
+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.) </li>
+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>
<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