about summary refs log tree commit diff
path: root/doc/s6-svwait.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-04-26 00:04:39 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-04-26 00:04:39 +0000
commit80882cf01005ea49672c496eff9f622d5ee5751d (patch)
tree237ea676669eda7b604e3a40bc74276c3908fb27 /doc/s6-svwait.html
parent7d6c1836cf305a3a9d43aaedb227236a620e27a3 (diff)
downloads6-80882cf01005ea49672c496eff9f622d5ee5751d.tar.gz
s6-80882cf01005ea49672c496eff9f622d5ee5751d.tar.xz
s6-80882cf01005ea49672c496eff9f622d5ee5751d.zip
Document s6-svwait -r | -R
Diffstat (limited to 'doc/s6-svwait.html')
-rw-r--r--doc/s6-svwait.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/s6-svwait.html b/doc/s6-svwait.html
index c371787..553201b 100644
--- 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>&nbsp;: 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>&nbsp;: 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>&nbsp;: or. s6-svwait will wait until <em>one</em> of the
 given services comes up or down. </li>
  <li> <tt>-a</tt>&nbsp;: and. s6-svwait will wait until <em>all</em> of the