summaryrefslogtreecommitdiffstats
path: root/git-daemon.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2006-08-28 07:18:38 +0000
committerJunio C Hamano <junio@hera.kernel.org>2006-08-28 07:18:38 +0000
commit9adfc6a1edab792a2e46eaaa78a6f7863c855e18 (patch)
treef96a51946733528f4d4e5bab36d23a71af9ec910 /git-daemon.html
parent1d25a9c06366804d45430e56b99d9440a365fd14 (diff)
downloadgit-htmldocs-9adfc6a1edab792a2e46eaaa78a6f7863c855e18.tar.gz
Autogenerated HTML docs for v1.4.2-g370e
Diffstat (limited to 'git-daemon.html')
-rw-r--r--git-daemon.html20
1 files changed, 18 insertions, 2 deletions
diff --git a/git-daemon.html b/git-daemon.html
index e500baec9..1fd9609d1 100644
--- a/git-daemon.html
+++ b/git-daemon.html
@@ -276,7 +276,8 @@ git-daemon(1) Manual Page
<div class="content"><em>git-daemon</em> [--verbose] [--syslog] [--inetd | --port=n] [--export-all]
[--timeout=n] [--init-timeout=n] [--strict-paths]
[--base-path=path] [--user-path | --user-path=path]
- [--reuseaddr] [--detach] [--pid-file=file] [directory&#8230;]</div></div>
+ [--reuseaddr] [--detach] [--pid-file=file]
+ [--user=user [--group=group]] [directory&#8230;]</div></div>
</div>
<h2>DESCRIPTION</h2>
<div class="sectionbody">
@@ -422,6 +423,21 @@ the offers to a whitelist comprising of those.</p>
</p>
</dd>
<dt>
+--user=user, --group=group
+</dt>
+<dd>
+<p>
+ Change daemon's uid and gid before entering the service loop.
+ When only <tt>--user</tt> is given without <tt>--group</tt>, the
+ primary group ID for the user is used. The values of
+ the option are given to <tt>getpwnam(3)</tt> and <tt>getgrnam(3)</tt>
+ and numeric IDs are not supported.
+</p>
+<p>Giving these options is an error when used with <tt>--inetd</tt>; use
+the facility of inet daemon to achieve the same before spawning
+<tt>git-daemon</tt> if needed.</p>
+</dd>
+<dt>
&lt;directory&gt;
</dt>
<dd>
@@ -448,7 +464,7 @@ the offers to a whitelist comprising of those.</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 28-Jul-2006 05:14:02 UTC
+Last updated 28-Aug-2006 07:18:33 UTC
</div>
</div>
</body>