commit 80882cf01005ea49672c496eff9f622d5ee5751d
parent 7d6c1836cf305a3a9d43aaedb227236a620e27a3
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Mon, 26 Apr 2021 00:04:39 +0000
Document s6-svwait -r | -R
Diffstat:
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/doc/s6-svwait.html b/doc/s6-svwait.html
@@ -29,7 +29,7 @@ s6-svwait only waits for notifications; it never polls.
<h2> Interface </h2>
<pre>
- s6-svwait [ -U | -u | -D | -d ] [ -a | -o ] [ -t <em>timeout</em> ] <em>servicedir...</em>
+ s6-svwait [ -U | -u | -D | -d | -r | -R ] [ -a | -o ] [ -t <em>timeout</em> ] <em>servicedir...</em>
</pre>
<p>
@@ -70,6 +70,15 @@ services are down and the cleanup scripts in
<tt><em>servicedir</em>/finish</tt>
for every <em>servicedir</em>
have finished executing (or have timed out and been killed). </li>
+ <li> <tt>-r</tt> : restart. s6-svwait will wait until the services
+are down, then until they are up. If the <tt>-o</tt> option is given, it
+waits until <em>all</em> services are down and <em>one</em> service is up;
+otherwise it waits until <em>all</em> the services have restarted. </li>
+ <li> <tt>-R</tt> : restart and ready.. s6-svwait will wait until the services
+are down, then until they are up and ready. If the <tt>-o</tt> option is given, it
+waits until <em>all</em> services are down and <em>one</em> service is up and
+ready; otherwise it waits until <em>all</em> the services have restarted and
+are ready. </li>
<li> <tt>-o</tt> : or. s6-svwait will wait until <em>one</em> of the
given services comes up or down. </li>
<li> <tt>-a</tt> : and. s6-svwait will wait until <em>all</em> of the