[Pkg-mpd-commits] [pkg-mpd] 02/02: Provide documentation on setting up multiple simultaneous mpd instances (closes: #526420)

Florian Schlichting fsfs at moszumanska.debian.org
Mon Aug 10 20:51:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

fsfs pushed a commit to branch master
in repository pkg-mpd.

commit f53646d383f3f5f0fec04ad043f060a7cbca4c5e
Author: Florian Schlichting <fsfs at debian.org>
Date:   Mon Aug 10 22:48:42 2015 +0200

    Provide documentation on setting up multiple simultaneous mpd instances (closes: #526420)
---
 debian/README.Debian | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
index 3b3084a..a0942bf 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -18,6 +18,22 @@ Starting from the provided mpdconf.example, you'll likely want to uncomment and
 adjust all options in the "Files and directories" section, set bind_to_address
 (see below) as well as enable the non-optional pulse configuration.
 
+If on the other hand you want to set up additional instances of mpd as a
+system service, create a copy of your /etc/mpd.conf for each instance.
+Make sure that each instance has a different pid_file, state_file and
+bind_to_address/port. You probably want to specify a different
+audio_output for each, too.
+For sysvinit you need a copy of /etc/init.d/mpd for each instance,
+properly adjusting the value of MPDCONF at the top.  Activate each copy
+by running "update-rc.d <initscript-copy> defaults" on it.
+For systemd make copies of /lib/systemd/system/mpd.{service,socket} in
+/etc/systemd/system/ as desired.  Adjust the Description and
+ListenStream directives, and add the path to the respective copy of
+mpd.conf to ExecStart. Activate and start each instance using the
+'systemctl enable' and 'systemctl start' commands.
+Watch package updates for changes to the default init script / systemd
+units, as your copies will not be upgraded.
+
 In the default /etc/mpd.conf, bind_to_address is set to "localhost" in
 order to prevent other (possibly untrusted) hosts from accessing MPD.
 If you wish to allow other hosts to access MPD, you must change this

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/pkg-mpd.git



More information about the Pkg-mpd-commits mailing list