diff options
author | Max Kellermann <max@duempel.org> | 2008-12-16 21:31:52 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-12-16 21:31:52 +0100 |
commit | f5bbb2b81987be9750ccec79b15dda193ef16b11 (patch) | |
tree | 104bbb2fd4293d240723842060b6cebe03aaedda | |
parent | 5aa1afe69344aa6b6be5ac55c79fce14e1f79d53 (diff) | |
download | mpd-f5bbb2b81987be9750ccec79b15dda193ef16b11.tar.gz mpd-f5bbb2b81987be9750ccec79b15dda193ef16b11.tar.xz mpd-f5bbb2b81987be9750ccec79b15dda193ef16b11.zip |
man: document Unix domain socket configuration in the manual
Additionally, add an example in mpdconf.example.
-rw-r--r-- | doc/mpd.conf.5 | 3 | ||||
-rw-r--r-- | doc/mpdconf.example | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5 index 52d7714cd..31b105c8d 100644 --- a/doc/mpd.conf.5 +++ b/doc/mpd.conf.5 @@ -72,6 +72,9 @@ This specifies the user that mpd will run as, if set. This specifies which address mpd binds to and listens on. Multiple bind_to_address parameters may be specified. The default is "any", which binds to all available addresses. + +To bind to a Unix domain socket, specify an absolute path. For a +system-wide MPD, we suggest the path "\fB/var/run/mpd/socket\fP". .TP .B port <port> This specifies the port that mpd listens on. The default is 6600. diff --git a/doc/mpdconf.example b/doc/mpdconf.example index 808c035a7..83109383e 100644 --- a/doc/mpdconf.example +++ b/doc/mpdconf.example @@ -42,6 +42,10 @@ error_file "~/.mpd/mpd.error" #bind_to_address "any" #port "6600" # +# Bind to a Unix domain socket: +# +#bind_to_address "/var/run/mpd/socket" +# # Controls the amount of information that is logged. Can be # "default", "secure", or "verbose". # |