summaryrefslogtreecommitdiff
path: root/doc/servicedir.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-07-20 20:20:54 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-07-20 20:20:54 +0000
commita3cdeecf0033919e3b5a79c17c19b5ac98719256 (patch)
tree92a930930f18a4f8ae897b1a69c39358137ce1e2 /doc/servicedir.html
parentbd34de9054cec794d96b0fde1eee9100e1d34215 (diff)
downloads6-a3cdeecf0033919e3b5a79c17c19b5ac98719256.tar.xz
- Add timeout-finish support and "down-readiness"
- LOTS of refactoring to make this work - Remove s6-notifywhenup - s6-supervise now rocks the casbah - rc for 2.2.0.0
Diffstat (limited to 'doc/servicedir.html')
-rw-r--r--doc/servicedir.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/servicedir.html b/doc/servicedir.html
index 7cebd53..76a0a11 100644
--- a/doc/servicedir.html
+++ b/doc/servicedir.html
@@ -117,6 +117,12 @@ notification from the service and broadcast readiness, i.e. any
<a href="s6-svlisten1.html">s6-svlisten1 -U</a> or
<a href="s6-svlisten.html">s6-svlisten -U</a> processes will be
triggered. </li>
+ <li> An optional regular file named <tt>timeout-finish</tt>. If such a file
+exists, it must only contain an unsigned integer, which is the number of
+milliseconds after which the <tt>./finish</tt> script, if it exists, will
+be killed with a SIGKILL. The default is 5000: finish scripts are killed
+if they're still alive after 5 seconds. A value of 0 allows finish scripts
+to run forever. </li>
<li> A <a href="fifodir.html">fifodir</a> named <tt>event</tt>. It is automatically
created by <a href="s6-supervise.html">s6-supervise</a> if it does not exist.
<em>foo</em><tt>/event</tt>