From d8ed499d05f38a8097289e3ee1aeeb3cd7c615a0 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 29 Mar 2017 14:37:47 +0000 Subject: s6-svstat doc typo fix and clarification --- doc/s6-svstat.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/s6-svstat.html b/doc/s6-svstat.html index afa6d39..2a88feb 100644 --- a/doc/s6-svstat.html +++ b/doc/s6-svstat.html @@ -85,13 +85,14 @@ if it is not (i.e. there is a ./down file). it is not. Note that a service can be both down and ready: it simply means that it is ready to be started (i.e. no ./finish script is currently running). To check for service readiness, you should give this option along with up: the service is ready iff -s6-svstat -o up,ready prints true true. +s6-svstat -o up,ready prints true true. (The true true case will +never happen if the service does not support readiness notification.)
  • paused: print true if the service is paused (i.e. the process is currently stopped) and false if it is not. It is a rare flag, you shouldn't normally need to use this option.
  • pid: print the pid of the supervised process. If the service is currently down, -1 is printed instead.
  • -
  • pid: print the exit code of the last execution of ./run. If the +
  • exitcode: print the exit code of the last execution of ./run. If the service is currently up, or the last ./run process was killed by a signal, -1 is printed instead.
  • signal: print the name of the signal the last ./run process was -- cgit v1.2.3