[Pkg-mpd-maintainers] Bug#526420: Do you want to support multiple instance of mpd?

Florian Schlichting fsfs at debian.org
Sun Mar 2 22:39:24 UTC 2014


Hi Christian,

> do you want to extend mpd that you can start multiple instances?
> 
> Three years ago I submitted a patch for the wish of Jerome Haltom
> (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526420) to
> support multiple instances. The patch works but there is still room
> for improvement. If you want to have some kind of support for
> multiple instances, I'm willing to work on the patch that it fits
> for you.

thanks for drawing my attention to that bug; I hadn't actually looked at
the patch before.

My current feeling is that it looks like a fairly complicated solution
for what I think is a rare problem (but I might be wrong there); do we
really need to add explicit support for this? Wouldn't it be a perfectly
ok solution if people who need 5 instances of mpd and thus create 5
slightly modified versions of mpd.conf also use 5 mpd init scripts, each
with a different hard-coded value of MPDCONF?

The other concern I have is that we also need to support equivalent
functionality for systemd. It's easy for an admin to make 5 different
copies of the systemd unit file mpd ships, but I'm not sure if it's
possible to start a variable amount of daemons from a single systemd
unit.

But I like your README.Debian documentation. What if we extend that with
the recommendation to also create multiple adapted versions of the init
script / systemd unit, one for each mpd.conf?

Florian



More information about the Pkg-mpd-maintainers mailing list