comparison doc/hg.1.txt @ 1740:f95654385065

add --daemon option to serve command. for issue 45. code looks odd because it is portable to windows. windows does not have os.fork, so have to spawn and use pipe to tell parent ready instead.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Fri, 17 Feb 2006 16:29:30 -0800
parents 251729df9cc6
children f29857aaa053
comparison
equal deleted inserted replaced
1736:50de0887bbcd 1740:f95654385065
541 By default, the server logs accesses to stdout and errors to 541 By default, the server logs accesses to stdout and errors to
542 stderr. Use the "-A" and "-E" options to log to files. 542 stderr. Use the "-A" and "-E" options to log to files.
543 543
544 options: 544 options:
545 -A, --accesslog <file> name of access log file to write to 545 -A, --accesslog <file> name of access log file to write to
546 -d, --daemon run server in background, as a daemon
546 -E, --errorlog <file> name of error log file to write to 547 -E, --errorlog <file> name of error log file to write to
547 -a, --address <addr> address to use 548 -a, --address <addr> address to use
548 -p, --port <n> port to use (default: 8000) 549 -p, --port <n> port to use (default: 8000)
549 -n, --name <name> name to show in web pages (default: working dir) 550 -n, --name <name> name to show in web pages (default: working dir)
551 --pid-file <file> write server process ID to given file
550 -t, --templatedir <path> web templates to use 552 -t, --templatedir <path> web templates to use
551 -6, --ipv6 use IPv6 in addition to IPv4 553 -6, --ipv6 use IPv6 in addition to IPv4
552 554
553 status [options] [files]:: 555 status [options] [files]::
554 Show changed files in the working directory. If no names are 556 Show changed files in the working directory. If no names are