Correct listener port and socket documentation

Remove the old paragraph and added a note about defining separate
listeners for UNIX domain sockets and network ports.

Also fixed the example listener definition.
This commit is contained in:
Markus Mäkelä 2018-03-19 17:41:26 +02:00
parent 39dff20a0a
commit 0b89bc167a
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -1244,7 +1244,6 @@ service=<Service name>]
protocol=[MariaDBClient|HTTPD]
address=[IP|hostname]
port=<Listen port number>
socket=<Socket path>
```
#### `service`
@ -1276,8 +1275,9 @@ The `socket` option may be included in a listener definition, this configures
the listener to use Unix domain sockets to listen for incoming connections. The
parameter value given is the name of the socket to use.
If a socket option and an address option is given then the listener will listen
on both the specific IP address and the Unix socket.
**Note:** If you want to use both network ports and UNIX domain sockets
with a service, define two separate listeners that connect to the same
service.
#### `authenticator`