From 5d13659f0e51eedfe96942834c6ca23525d9952f Mon Sep 17 00:00:00 2001 From: Randall Leeds Date: Thu, 30 Jan 2014 16:49:16 -0800 Subject: [PATCH] Documentation formatting --- docs/source/deploy.rst | 2 +- gunicorn/config.py | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/source/deploy.rst b/docs/source/deploy.rst index 1ba53535..4403f0e6 100644 --- a/docs/source/deploy.rst +++ b/docs/source/deploy.rst @@ -246,7 +246,7 @@ Systemd ------- A tool that is starting to be common on linux systems is Systemd_. Here -are configurations files to set the gunicorn launch in systemd and +are configurations files to set the gunicorn launch in systemd and the interfaces on which gunicorn will listen. The sockets will be managed by systemd: diff --git a/gunicorn/config.py b/gunicorn/config.py index cf8144e3..0e689d2e 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -1083,12 +1083,13 @@ class SyslogTo(Setting): desc = """\ Address to send syslog messages. - Adress are a string of the form: - - 'unix://PATH#TYPE' : for unix domain socket. TYPE can be 'stream' - for the stream driver or 'dgram' for the dgram driver. 'stream' is - the default. - - 'udp://HOST:PORT' : for UDP sockets - - 'tcp://HOST:PORT' : for TCP sockets + Address is a string of the form: + + * 'unix://PATH#TYPE' : for unix domain socket. TYPE can be 'stream' + for the stream driver or 'dgram' for the dgram driver. + 'stream' is the default. + * 'udp://HOST:PORT' : for UDP sockets + * 'tcp://HOST:PORT' : for TCP sockets """