From dd74c73772894c6988582eb4aec0fbaf6ed558d5 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Mon, 16 Mar 2015 16:05:54 +0000
Subject: - doc fixes - added -X to s6-notifywhenup
---
doc/s6-notifywhenup.html | 5 ++++-
doc/s6-svc.html | 8 ++++----
2 files changed, 8 insertions(+), 5 deletions(-)
(limited to 'doc')
diff --git a/doc/s6-notifywhenup.html b/doc/s6-notifywhenup.html
index ee5a99e..b958125 100644
--- a/doc/s6-notifywhenup.html
+++ b/doc/s6-notifywhenup.html
@@ -31,7 +31,7 @@ needed.
Interface
- s6-notifywhenup [ -d fd ] [ -e fifodir ] [ -f ] [ -t timeout ] prog...
+ s6-notifywhenup [ -d fd ] [ -e fifodir ] [ -f ] [ -X ] [ -t timeout ] prog...
@@ -59,6 +59,9 @@ set if prog reaps even children it doesn't know it has.
- -t timeout : if no EOF has been received
after timeout milliseconds, exit without sending the event.
Default is 0, meaning infinite.
+ - -X : fake readiness. s6-notifywhenup will actually send
+the newline itself before executing prog. This option should in
+principle never be used.
Notes
diff --git a/doc/s6-svc.html b/doc/s6-svc.html
index 0ca3bd7..02ef8f0 100644
--- a/doc/s6-svc.html
+++ b/doc/s6-svc.html
@@ -27,7 +27,7 @@ knowing their PIDs, and without using horrible hacks such as .pid files.
Interface
- s6-svc [ -D | -U ] [ -t timeout ] [ -abqhkti12pcoduxO ] servicedir
+ s6-svc [ -D | -U ] [ -T timeout ] [ -abqhkti12pcoduxO ] servicedir
@@ -62,8 +62,8 @@ normally never be used on a working system.
-O : Once at most. Do not restart the supervised process
when it dies. If it is down when the command is received, do not even start
it.
- -t timeout : if the -D or
--U option has been given, -t specifies a timeout
+ -T timeout : if the -D or
+-U option has been given, -T specifies a timeout
(in milliseconds) after which s6-svc will exit 1 with an error message if
the service still hasn't reached the desired state. By default, the
timeout is 0, which means that s6-svc will block indefinitely.
@@ -96,7 +96,7 @@ typically the sshd server.
Take down the ftpd server and block until the process is really down.
- s6-svc -Uu -t 5000 /service/ftpd
+ s6-svc -Uu -T 5000 /service/ftpd
Bring up the ftpd server and block until it has sent notification that it
is ready. Exit 1 if it is still not ready after 5 seconds.
--
cgit v1.3.1