From 80882cf01005ea49672c496eff9f622d5ee5751d Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 26 Apr 2021 00:04:39 +0000 Subject: Document s6-svwait -r | -R --- doc/s6-svwait.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'doc') 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.

Interface

-     s6-svwait [ -U | -u | -D | -d ] [ -a | -o ] [ -t timeout ] servicedir...
+     s6-svwait [ -U | -u | -D | -d | -r | -R ] [ -a | -o ] [ -t timeout ] servicedir...
 

@@ -70,6 +70,15 @@ services are down and the cleanup scripts in servicedir/finish for every servicedir have finished executing (or have timed out and been killed). +

  • -r : restart. s6-svwait will wait until the services +are down, then until they are up. If the -o option is given, it +waits until all services are down and one service is up; +otherwise it waits until all the services have restarted.
  • +
  • -R : restart and ready.. s6-svwait will wait until the services +are down, then until they are up and ready. If the -o option is given, it +waits until all services are down and one service is up and +ready; otherwise it waits until all the services have restarted and +are ready.
  • -o : or. s6-svwait will wait until one of the given services comes up or down.
  • -a : and. s6-svwait will wait until all of the -- cgit v1.2.3