summaryrefslogtreecommitdiff
path: root/doc/s6-svscan.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-01-15 14:15:42 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-01-15 14:15:42 +0000
commit597dc96fec06714019afe95487cd1065239b8049 (patch)
tree1dc3a583fed0bf803874b23d1f1af6e992f2da90 /doc/s6-svscan.html
parentf59b79de8c8f49ffd5133b2a37e11a52edc2bdbd (diff)
downloads6-597dc96fec06714019afe95487cd1065239b8049.tar.xz
Add console holder functionality to s6-svscan
Diffstat (limited to 'doc/s6-svscan.html')
-rw-r--r--doc/s6-svscan.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/s6-svscan.html b/doc/s6-svscan.html
index 665fd75..b826847 100644
--- a/doc/s6-svscan.html
+++ b/doc/s6-svscan.html
@@ -27,7 +27,7 @@ the root or a branch of a <em>supervision tree</em>.
<h2> Interface </h2>
<pre>
- s6-svscan [ -S | -s ] [ -d <em>notif</em> ] [ -c max ] [ -t <em>rescan</em> ] [ <em>scandir</em> ]
+ s6-svscan [ -S | -s ] [ -d <em>notif</em> ] [ -X <em>consoleholder</em> ] [ -c max ] [ -t <em>rescan</em> ] [ <em>scandir</em> ]
</pre>
<ul>
@@ -73,6 +73,14 @@ even that the relevant <a href="s6-supervise.html">s6-supervise</a> processes ha
been started. If you need to test for <em>deep readiness</em>, meaning that all the
services in the supervision tree have been started and are ready, you cannot rely
on this option. </li>
+ <li> <tt>-X&nbsp;<em>consoleholder</em></tt>&nbsp;: assume the output console is available
+on descriptor <em>consoleholder</em>. If this option is given, and a <tt>s6-svscan-log</tt>
+service exists, the <a href="s6-supervise.html">s6-supervise</a> process for that service
+will be run with <em>consoleholder</em> as its standard error. This is mainly useful
+for a setup done via <a href="//skarnet.org/software/s6-linux-init/">s6-linux-init</a>,
+where all error messages go to the <tt>s6-svscan-log</tt> catch-all logger service by
+default, except messages from this service itself, which fall back to <em>consoleholder</em>.
+If you're not sure what to use this option for, or how, you don't need it. </li>
<li> <tt>-c&nbsp;<em>max</em></tt>&nbsp;: maintain services for up to <em>max</em>
service directories. Default is 500. Lower limit is 2. There is no upper limit, but:
<ul>