summaryrefslogtreecommitdiffstats
path: root/git-daemon.txt
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.txt
parent1d25a9c06366804d45430e56b99d9440a365fd14 (diff)
downloadgit-htmldocs-9adfc6a1edab792a2e46eaaa78a6f7863c855e18.tar.gz
Autogenerated HTML docs for v1.4.2-g370e
Diffstat (limited to 'git-daemon.txt')
-rw-r--r--git-daemon.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/git-daemon.txt b/git-daemon.txt
index 0f7d274ea..17619a3f5 100644
--- a/git-daemon.txt
+++ b/git-daemon.txt
@@ -11,7 +11,8 @@ SYNOPSIS
'git-daemon' [--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...]
+ [--reuseaddr] [--detach] [--pid-file=file]
+ [--user=user [--group=group]] [directory...]
DESCRIPTION
-----------
@@ -93,6 +94,17 @@ OPTIONS
--pid-file=file::
Save the process id in 'file'.
+--user=user, --group=group::
+ Change daemon's uid and gid before entering the service loop.
+ When only `--user` is given without `--group`, the
+ primary group ID for the user is used. The values of
+ the option are given to `getpwnam(3)` and `getgrnam(3)`
+ and numeric IDs are not supported.
++
+Giving these options is an error when used with `--inetd`; use
+the facility of inet daemon to achieve the same before spawning
+`git-daemon` if needed.
+
<directory>::
A directory to add to the whitelist of allowed directories. Unless
--strict-paths is specified this will also include subdirectories