summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-12-04 07:53:34 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-12-04 07:53:34 +0000
commita39482a27960e4d11c122459175985615f7c35e0 (patch)
tree436c12a187fa5415ffd904a3955ad71fa486fab1
parent5a318ce649a7a5f754892518a4452a519b41dac8 (diff)
downloads6-a39482a27960e4d11c122459175985615f7c35e0.tar.xz
Scrap s6-svc -X from doc
-rw-r--r--doc/s6-svc.html13
1 files changed, 5 insertions, 8 deletions
diff --git a/doc/s6-svc.html b/doc/s6-svc.html
index cce152a..c4bd40a 100644
--- a/doc/s6-svc.html
+++ b/doc/s6-svc.html
@@ -63,14 +63,11 @@ file in the <a href="servicedir.html">service directory</a>. </li>
Automatically restart it when it dies. </li>
<li> <tt>-x</tt>&nbsp;: exit. When the service is asked to be down and
the supervised process dies, s6-supervise will exit too. This command should
-normally never be used on a working system. </li>
- <li> <tt>-X</tt>&nbsp;: close fds and exit. Like <tt>-x</tt>, but
-<a href="s6-supervise.html">s6-supervise</a> will immediately close its
-stdin, stdout and stderr. This is useful when s6-supervise has descriptors
-open to the service it is supervising and the service is waiting for them
-to close before exiting. Note that if this option is used, the last
-execution of the service's <tt>finish</tt> script will be run with
-stdin, stdout and stderr redirected to <tt>/dev/null</tt>. </li>
+normally never be used on a working system. Note that if this command is
+sent and a <tt>./finish</tt> script exists for the service, the last
+<tt>./finish</tt> invocation before
+<a href="s6-supervise.html">s6-supervise</a> exits will run with its stdin
+and stdout redirected to <tt>/dev/null</tt>. </li>
<li> <tt>-O</tt>&nbsp;: mark the service to run once at most. iow: do not
restart the supervised process when it dies. If it is down when the command
is received, do not even start it. </li>