From a3cdeecf0033919e3b5a79c17c19b5ac98719256 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 20 Jul 2015 20:20:54 +0000 Subject: - 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 --- doc/s6-svwait.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'doc/s6-svwait.html') diff --git a/doc/s6-svwait.html b/doc/s6-svwait.html index de209ea..c3df0fa 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 ] [ -a | -o ] [ -t timeout ] servicedir...
+     s6-svwait [ -U | -u | -D | -d ] [ -a | -o ] [ -t timeout ] servicedir...
 

@@ -53,6 +53,11 @@ specific support in the service programs, and the use of the service directory. See the explanation on this page.

  • -d : down. s6-svwait will wait until the services are down.
  • +
  • -D : really down. s6-svwait will wait until the +services are down and the cleanup scripts in +servicedir/finish +for every servicedir +have finished executing (or have timed out and been killed).
  • -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 @@ -80,8 +85,7 @@ s6-supervise has not been started yet.
  • s6-svwait spawns a s6-ftrigrd child to listen to notifications sent by s6-supervise. -It also checks supervise/status files, as well as the -supervise/ready files if necessary, to get the current service +It also checks supervise/status files to get the current service states, so it is immune to race conditions.

    -- cgit v1.2.3