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:
parent
39dff20a0a
commit
0b89bc167a
@ -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`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user