From 9a669c4b3973118dfcce2a2b1fb4babd0aaa6af7 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 25 Mar 2017 11:25:15 +0000 Subject: Stop using flagwant; new s6-svstat API; s6-svwait's timeout exitcode is now 99 --- doc/s6-svlisten.html | 2 +- doc/s6-svlisten1.html | 2 +- doc/s6-svstat.html | 93 +++++++++++++++++++++++++++++++++++++++++++++++---- doc/s6-svwait.html | 2 +- 4 files changed, 89 insertions(+), 10 deletions(-) (limited to 'doc') diff --git a/doc/s6-svlisten.html b/doc/s6-svlisten.html index e3d8044..0a3f427 100644 --- a/doc/s6-svlisten.html +++ b/doc/s6-svlisten.html @@ -85,7 +85,7 @@ given services comes up or down. given services come up or down. This is the default.
  • -t timeout : if the requested events have not happened after timeout milliseconds, s6-svlisten will print a message -to stderr and exit 1. By default, timeout is 0, which means no time +to stderr and exit 99. By default, timeout is 0, which means no time limit.
  • diff --git a/doc/s6-svlisten1.html b/doc/s6-svlisten1.html index be64e4f..762c3ff 100644 --- a/doc/s6-svlisten1.html +++ b/doc/s6-svlisten1.html @@ -68,7 +68,7 @@ the service has been started or restarted and has notified readiness.
  • -t timeout : if the requested event has not happened after timeout milliseconds, s6-svlisten1 will print a message -to stderr and exit 1. By default, timeout is 0, which means no time +to stderr and exit 99. By default, timeout is 0, which means no time limit.
  • diff --git a/doc/s6-svstat.html b/doc/s6-svstat.html index bb3d66b..afa6d39 100644 --- a/doc/s6-svstat.html +++ b/doc/s6-svstat.html @@ -26,13 +26,22 @@ monitored by s6-supervise.

    Interface

    -     s6-svstat [ -n ] servicedir
    +     s6-svstat [ -uwNrpest | -o up,wantedup,normallyup,ready,paused,pid,exitcode,signal,signum,updownsince,readysince,updownfor,readyfor ] [ -n ] servicedir
     

    s6-svstat gives information about the process being monitored at the servicedir service directory, then -exits 0. The information includes the following: +exits 0. +

    + +

    + When s6-svstat is invoked without options, or with only the -n option, +it prints a human-readable summary of all the +available information on the service. In this case, the -n option +instructs it to print a signal number (instead of a signal name) if the +supervised process was killed by a signal. The summary includes the +following data:

    +

    + When s6-svstat is invoked with one or several options other than -n, +it outputs programmatically parsable information instead. The output is a series of +space-separated values, one value per requested field. The valid options +are as follows. +

    +

    Options

    Exit codes

    @@ -70,5 +131,23 @@ printed instead.
  • 111: system call failed
  • +

    Examples

    + + + diff --git a/doc/s6-svwait.html b/doc/s6-svwait.html index c3df0fa..681dd8f 100644 --- a/doc/s6-svwait.html +++ b/doc/s6-svwait.html @@ -64,7 +64,7 @@ given services comes up or down. given services come up or down. This is the default.
  • -t timeout : if the requested events have not happened after timeout milliseconds, s6-svwait will print a message -to stderr and exit 1. By default, timeout is 0, which means no time +to stderr and exit 99. By default, timeout is 0, which means no time limit.
  • -- cgit v1.2.3