Skip to content

Overriding MPD_HOST and MPD_PORT? #549

Answered by jcorporation
eriqjaffe asked this question in Q&A
Discussion options

You must be logged in to vote

You should start each instance with a different workdir and http/ssl Port and change the mpd instance in the webgui. At first startup the environment MPD_HOST and MPD_PORT is respected.

This should work, refer to the documentation for all options.

export MPD_HOST=/run/mpd1/socket
export MYMPD_HTTP_PORT=8000
export MYMPD_SSL=false
mympd -w /var/lib/mympd1

I will add this scenario to the documentation.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@eriqjaffe
Comment options

Answer selected by jcorporation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants