summaryrefslogtreecommitdiff
path: root/waitress
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2016-06-02 19:39:08 -0600
committerBert JW Regeer <bertjw@regeer.org>2016-06-03 14:13:09 -0600
commita6d29763cb600e358532ecf291a02f8ffd01e5c7 (patch)
tree0077a50808e45cf2102bab760f7a779008a7b53c /waitress
parentd61473f0163379eaa488f4ee7d01dc81758c77bd (diff)
downloadwaitress-a6d29763cb600e358532ecf291a02f8ffd01e5c7.tar.gz
Update docs for the runner
Diffstat (limited to 'waitress')
-rw-r--r--waitress/runner.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/waitress/runner.py b/waitress/runner.py
index 04cd78f..7fa52b1 100644
--- a/waitress/runner.py
+++ b/waitress/runner.py
@@ -45,6 +45,22 @@ Standard options:
--port=PORT
TCP port on which to listen, default is '8080'
+ --listen=ip:port
+ Tell waitress to listen on an ip port combination.
+
+ Example:
+
+ --listen=127.0.0.1:8080
+ --listen=[::1]:8080
+
+ This option may be used multiple times to listen on multipe sockets.
+
+ --ipv4
+ Enable or disable IPv4 (boolean)
+
+ --ipv6
+ Enable or disable IPv6 (boolean)
+
--unix-socket=PATH
Path of Unix socket. If a socket path is specified, a Unix domain
socket is made instead of the usual inet domain socket.