Add initial worker docs.
This commit is contained in:
@@ -3,3 +3,5 @@ Load Balancer as a Service Device Tools
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
worker/index
|
34
doc/worker/config.rst
Normal file
34
doc/worker/config.rst
Normal file
@@ -0,0 +1,34 @@
|
||||
Configuration
|
||||
=============
|
||||
|
||||
.. option:: -c <FILE>, --config <FILE>
|
||||
|
||||
Load options from the specified configuration file. Command line
|
||||
options will take precedence over any options specified in the
|
||||
configuration file.
|
||||
|
||||
.. option:: -d, --debug
|
||||
|
||||
Enable debugging output.
|
||||
|
||||
.. option:: --driver <DRIVER>
|
||||
|
||||
Load balancer driver to use. Valid driver options are:
|
||||
|
||||
* *haproxy* - `HAProxy <http://haproxy.1wt.eu>`_ software load balancer.
|
||||
This is the default driver.
|
||||
|
||||
.. option:: -h, --help
|
||||
|
||||
Show the help message and quit.
|
||||
|
||||
.. option:: -n, --nodaemon
|
||||
|
||||
Do not run as a daemon. This option is useful for debugging purposes
|
||||
only as the worker is intended to be run as a daemon normally.
|
||||
|
||||
.. option:: -v, --verbose
|
||||
|
||||
Enable verbose output. Normally, only errors are logged. This enables
|
||||
additional logging, but not as much as the :option:`-d` option.
|
||||
|
7
doc/worker/index.rst
Normal file
7
doc/worker/index.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
Libra Gearman Worker
|
||||
====================
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
config
|
Reference in New Issue
Block a user