diff options
| author | Olivier Dony <odo@openerp.com> | 2017-09-29 18:17:44 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2017-09-29 18:18:03 +0200 |
| commit | e58e0c268c45c83637f9be554784c2dd158eb59f (patch) | |
| tree | 024ef7d56dc1d810727957cde367f269d835ce7f /doc/setup | |
| parent | 85ed6a31a2547c97292ff9950f65f869b8b9cae3 (diff) | |
[IMP] server: rename xmlrpc* related parameters
The 'xmlrpc'-based configuration parameters have been a misnomer since
the introduction of the generic HTTP service, years ago.
Hide these options from the server parameters, and replace them with
more appropriate 'http' ones:
--xmlrpc-interface -> --http-interface
--xmlrpc-port -> --http-port
--no-xmlrpc -> --no-http
The config entries for these have been adapted as well.
The old parameter names are still silently supported in both
command-line arguments and config files. However they are
stored with the new names in the `tools.config` dict,
and when saving config files (with the -s option).
Also clarified and cleaned up the descriptions of the HTTP/WEB server
parameters.
And finally, added a short version `-p`, for the `--http-port` option.
Credits to @dreispt for this (via #19518)
Closes #19518
Closes #19778
Diffstat (limited to 'doc/setup')
| -rw-r--r-- | doc/setup/deploy.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/setup/deploy.rst b/doc/setup/deploy.rst index 983a2318117..9879117b607 100644 --- a/doc/setup/deploy.rst +++ b/doc/setup/deploy.rst @@ -211,7 +211,7 @@ the client will not connect to it. Instead you must have a proxy redirecting requests whose URL starts with ``/longpolling/`` to the longpolling port. Other request should be proxied to -the :option:`normal HTTP port <odoo-bin --xmlrpc-port>` +the :option:`normal HTTP port <odoo-bin --http-port>` .. warning:: The livechat worker requires the ``psycogreen`` Python module, which is not always included with all installation packages. @@ -357,7 +357,7 @@ To run cron jobs for an Odoo deployment as a WSGI application requires :option:`odoo-bin -d`) * which should not be exposed to the network. To ensure cron runners are not network-accessible, it is possible to disable the built-in HTTP server - entirely with :option:`odoo-bin --no-xmlrpc` or setting ``xmlrpc = False`` + entirely with :option:`odoo-bin --no-http` or setting ``http_enable = False`` in the configuration file LiveChat |
