From 90b12bd71bb9fc79a4640b9112c13ef529d0196a Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 5 Dec 2014 22:26:11 +0000 Subject: Initial commit --- doc/s6-svwait.html | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 doc/s6-svwait.html (limited to 'doc/s6-svwait.html') diff --git a/doc/s6-svwait.html b/doc/s6-svwait.html new file mode 100644 index 0000000..6e15704 --- /dev/null +++ b/doc/s6-svwait.html @@ -0,0 +1,73 @@ + + + + + s6: the s6-svwait program + + + + + + +

+s6
+Software
+skarnet.org +

+ +

The s6-svwait program

+ +

+s6-svwait blocks until a collection of supervised services goes up, or down. +

+ +

+s6-svwait only waits for notifications; it never polls. +

+ +

Interface

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

+s6-svwait monitors one or more service +directories given as its arguments, waiting for a state (up or down) to +happen. It exits 0 when the wanted condition becomes true. +

+ +

Options

+ + + + +

Internals

+ +

+s6-svwait spawns a s6-ftrigrd child to +listen to notifications sent by s6-supervise. +It also checks supervise/status files to get the current service +states, so it is immune to race conditions. +

+ + + -- cgit v1.2.3