summaryrefslogtreecommitdiff
path: root/doc/s6-svwait.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-03-27 14:05:21 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-03-27 14:05:21 +0000
commitded312bcc44704ea16fdfe9fb9f2b46bfd0f537b (patch)
treece13fbf46c9ecbbf00a94e06c1c3073ca23323aa /doc/s6-svwait.html
parent9a669c4b3973118dfcce2a2b1fb4babd0aaa6af7 (diff)
downloads6-ded312bcc44704ea16fdfe9fb9f2b46bfd0f537b.tar.xz
Clarify permanent failure API for s6-svwait -r and friends; update doc
Diffstat (limited to 'doc/s6-svwait.html')
-rw-r--r--doc/s6-svwait.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/s6-svwait.html b/doc/s6-svwait.html
index 681dd8f..36b1835 100644
--- a/doc/s6-svwait.html
+++ b/doc/s6-svwait.html
@@ -35,9 +35,20 @@ s6-svwait only waits for notifications; it never polls.
<p>
s6-svwait monitors one or more <a href="servicedir.html">service
directories</a> given as its arguments, waiting for a state (ready, up or down) to
-happen. It exits 0 when the wanted condition becomes true.
+happen.
</p>
+<h2> Exit codes </h2>
+
+<ul>
+ <li> 0: success, the wanted state has been reached </li>
+ <li> 99: timed out </li>
+ <li> 100: wrong usage </li>
+ <li> 111: system call failed </li>
+ <li> <em>n</em>: services were expected to come up, but <em>n</em> of them
+reported permanent failure </li>
+</ul>
+
<h2> Options </h2>
<ul>