Scroll to navigation

API_HOUR(1) User Commands API_HOUR(1)

NAME

api_hour - command line runner for launching API-Hour with container

DESCRIPTION

usage: api_hour [OPTIONS] [APP_MODULE]

optional arguments:

show this help message and exit
show program's version number and exit
Ciphers to use (see stdlib ssl module's) [TLSv1]
Check the configuration. [False]
The granularity of Error log outputs. [info]
Limit the number of HTTP headers fields in a request. [100]
Front-end's IPs from which allowed accept proxy requests (comma separate). [127.0.0.1]
The access log format. [%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"]
SSL version to use (see stdlib ssl module's) [_SSLMethod.PROTOCOL_TLSv1]
Chdir to specified directory before apps loading. [/tmp/build/api-hour-0.8.1]
Syslog facility name [user]
Limit the allowed size of an HTTP request header field. [8190]
The number of worker threads for handling requests. [1]
``host:port`` of the statsd server to log to. [None]
Load application code before the worker processes are forked. [False]
Switch worker process to run as this group. [1000]
Enable stdio inheritance. [False]
The maximum number of simultaneous clients. [1000]
SSL certificate file [None]
Daemonize the Gunicorn process. [False]
The maximum size of HTTP request line in bytes. [4094]
Address to send syslog messages. [udp://localhost:514]
The socket to bind. [['127.0.0.1:8000']]
A directory to use for the worker heartbeat temporary file. [None]
The log config file to use. [None]
Switch worker processes to run as this user. [1000]
The maximum number of pending connections. [2048]
A comma-separated list of directories to add to the Python path. [None]
A base to use with setproctitle for process naming. [None]
Suppress ragged EOFs (see stdlib ssl module's) [True]
Restart workers when code changes. [False]
The Access log file to write to. [None]
The Python path to a Django settings module. (deprecated) [None]
Front-end's IPs from which allowed to handle set secure headers. [127.0.0.1]
The Error log file to write to. [-]
Makes Gunicorn use the parameter as program-name in the syslog entries. [None]
Redirect stdout/stderr to Error log. [False]
Prefix to use when emitting statsd metrics (a trailing ``.`` is added, []
The number of worker processes for handling requests. [1]
Set environment variable (key=value). [[]]
Timeout for graceful workers restart. [30]
SSL key file [None]
Disables the use of ``sendfile()``. [None]
A bit mask for the file mode on files written by Gunicorn. [0]
Whether to perform SSL handshake on socket connect (see stdlib ssl module's) [False]
Install a trace function that spews every line executed by the server. [False]
Enable detect PROXY protocol (PROXY mode). [False]
Config directory of your API-Hour Daemon. Example: /etc/hello/ [None]
Enable auto-configuration discover based on daemon name [False]
The maximum jitter to add to the *max_requests* setting. [0]
Workers silent for more than this many seconds are killed and restarted. [30]
The Gunicorn config file. [None]
Load a PasteDeploy config file. The argument may contain a ``#`` [None]
Whether client certificate is required (see stdlib ssl module's) [0]
The logger you want to use to log events in Gunicorn. [gunicorn.glogging.Logger]
Send *Gunicorn* logs to syslog. [False]
The type of workers to use. [sync]
The number of seconds to wait for requests on a KeepAlive connection. [2]
A filename to use for the PID file. [None]
CA certificates file [None]
The maximum number of requests a worker will process before restarting. [0]

SEE ALSO

The full documentation for api_hour is available on http://www.api-hour.io

July 2016 api_hour (version 19.6.0)