about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-09-19 11:24:28 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-09-19 11:24:28 +0000
commit74f8a7206b244948654235a771f4ee3f1f3c0642 (patch)
tree53ca7845886c6990d0e45d5f0b0b1234ba80918b /doc
parentfed5c86b9340fe678cfec52099d3dbd03e6026f2 (diff)
downloads6-74f8a7206b244948654235a771f4ee3f1f3c0642.tar.gz
s6-74f8a7206b244948654235a771f4ee3f1f3c0642.tar.xz
s6-74f8a7206b244948654235a771f4ee3f1f3c0642.zip
servicedir doc fix
Diffstat (limited to 'doc')
-rw-r--r--doc/servicedir.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/servicedir.html b/doc/servicedir.html
index f610cbb..8e27bfc 100644
--- 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