summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-07-21 11:14:44 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-07-21 11:14:44 +0000
commit1c338ec2f260b09d1085c13615b3ea9f8ec02d24 (patch)
treeb8d567767e1ab24936e0cd22016f3ab419a67a75 /doc
parent62a87bb5d2176388907ed093d7e2bea2fe881890 (diff)
downloads6-rc-1c338ec2f260b09d1085c13615b3ea9f8ec02d24.tar.xz
Add -u/-g to s6-rc-compile
Diffstat (limited to 'doc')
-rw-r--r--doc/s6-rc-compile.html17
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/s6-rc-compile.html b/doc/s6-rc-compile.html
index 1464ea5..a11acfb 100644
--- a/doc/s6-rc-compile.html
+++ b/doc/s6-rc-compile.html
@@ -36,7 +36,7 @@ the current service database via
<h2> Interface </h2>
<pre>
- s6-rc-compile [ -v <em>verbosity</em> ] <em>compiled</em> <em>source...</em>
+ s6-rc-compile [ -v <em>verbosity</em> ] [ -u <em>uids</em> ] [ -g <em>gids</em> ] <em>compiled</em> <em>source...</em>
</pre>
<ul>
@@ -56,8 +56,23 @@ services declared in every <em>source</em> argument. </li>
verbose. Default is 1: warning and error messages will be printed to
stderr. 0 silences warnings. 2 adds a bit more information about
what s6-rc-compile is doing. 3 or more is heavy debug output. </li>
+ <li> <tt>-u&nbsp;<em>uids</em></tt>&nbsp;: list users allowed to
+use this database with <a href="s6-rc.html">s6-rc</a> to start and
+stop services. <em>uids</em> must be a comma-separated list of
+numerical UIDs. </li>
+ <li> <tt>-g&nbsp;<em>gids</em></tt>&nbsp;: list groups allowed to
+use this database with <a href="s6-rc.html">s6-rc</a> to start and
+stop services. <em>gids</em> must be a comma-separated list of
+numerical GIDs. </li>
</ul>
+<p>
+ If the <tt>-u</tt> or <tt>-g</tt> option is used, then <tt>0</tt>
+must be explicitly listed in <em>uids</em> in order to allow root
+to operate the database. If neither option is used, then root
+(and only root) is implicitly allowed.
+</p>
+
<h2> Source format </h2>
<p>