Listen: listen on $XDG_RUNTIME_DIR/mpd/socket by default

This commit is contained in:
Max Kellermann
2018-10-30 18:37:32 +01:00
parent 64da9399ca
commit 56112a237c
3 changed files with 66 additions and 1 deletions

View File

@@ -471,6 +471,9 @@ used multiple times to bind to more than one address. Example::
bind_to_address "127.0.0.1"
The default is "any", which binds to all available addresses.
Additionally, MPD binds to :code:`$XDG_RUNTIME_DIR/mpd/socket` (if it
was launched as a per-user daemon and no :code:`bind_to_address`
setting exists).
You can set a port that is different from the global port setting,
e.g. "localhost:6602". IPv6 addresses must be enclosed in square