diff options
author | Matthias Lederhofer <matled@gmx.net> | 2006-07-14 17:53:29 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-27 13:55:31 -0700 |
commit | 6c35119ac711c69c69874d7d52f5cfa12c07ccce (patch) | |
tree | 4eaf5691c92f587e61375eee955a9d03ac462828 | |
parent | 5209eda86363a3ba2e000903ad8de29589b18b58 (diff) | |
download | git-6c35119ac711c69c69874d7d52f5cfa12c07ccce.tar.gz git-6c35119ac711c69c69874d7d52f5cfa12c07ccce.tar.xz |
daemon: documentation for --reuseaddr, --detach and --pid-file
Signed-off-by: Matthias Lederhofer <matled@gmx.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r-- | Documentation/git-daemon.txt | 13 | ||||
-rw-r--r-- | daemon.c | 2 |
2 files changed, 13 insertions, 2 deletions
diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt index 4c357daf6..0f7d274ea 100644 --- a/Documentation/git-daemon.txt +++ b/Documentation/git-daemon.txt @@ -11,7 +11,7 @@ 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] - [directory...] + [--reuseaddr] [--detach] [--pid-file=file] [directory...] DESCRIPTION ----------- @@ -82,6 +82,17 @@ OPTIONS --verbose:: Log details about the incoming connections and requested files. +--reuseaddr:: + Use SO_REUSEADDR when binding the listening socket. + This allows the server to restart without waiting for + old connections to time out. + +--detach:: + Detach from the shell. Implies --syslog. + +--pid-file=file:: + Save the process id in 'file'. + <directory>:: A directory to add to the whitelist of allowed directories. Unless --strict-paths is specified this will also include subdirectories @@ -19,7 +19,7 @@ static const char daemon_usage[] = "git-daemon [--verbose] [--syslog] [--inetd | --port=n] [--export-all]\n" " [--timeout=n] [--init-timeout=n] [--strict-paths]\n" " [--base-path=path] [--user-path | --user-path=path]\n" -" [--reuseaddr] [directory...]"; +" [--reuseaddr] [--detach] [--pid-file=file] [directory...]"; /* List of acceptable pathname prefixes */ static char **ok_paths = NULL; |