How to use tracd from the command line
trac can be found at http://trac.edgewall.org/
[code language="bash"]
tracd --port 8000 /var/trac_project_env
tracd --port 8000 --auth=Product1,/var/trac_project_env/conf/trac.htpasswd,CompanyName /var/trac_project_env
tracd --port 8000 --basic-auth="*",/var/trac_project_env/conf/trac.standalone.htpasswd,CompanyName /var/trac_project_env
[/code]
[code language="bash"]
tracd --help
Usage: tracd [options] [projenv] ...
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-a DIGESTAUTH, --auth=DIGESTAUTH
[projectdir],[htdigest_file],[realm]
--basic-auth=BASICAUTH
[projectdir],[htpasswd_file],[realm]
-p PORT, --port=PORT the port number to bind to
-b HOSTNAME, --hostname=HOSTNAME
the host name or IP address to bind to
--protocol=PROTOCOL http|scgi|ajp
-q, --unquote unquote PATH_INFO (may be needed when using ajp)
--http10 use HTTP/1.0 protocol version (default)
--http11 use HTTP/1.1 protocol version instead of HTTP/1.0
-e PARENTDIR, --env-parent-dir=PARENTDIR
parent directory of the project environments
--base-path=BASE_PATH
the initial portion of the request URL's "path"
-r, --auto-reload restart automatically when sources are modified
-s, --single-env only serve a single project without the project list
-d, --daemonize run in the background as a daemon
--pidfile=PIDFILE When daemonizing, file to which to write pid
--umask=MASK When daemonizing, file mode creation mask to use, in
octal notation (default 022)
[/code]
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a comment.