[Pkg-mpd-maintainers] Bug#742833: Bug#742833: mpd: fails to start when using systemd

Florian Schlichting fsfs at debian.org
Thu Apr 10 18:16:24 UTC 2014


Hi,

> >>Here's the output of 'systemctl status mpd.service':
> >>
> >>   mpd.service - Music Player Daemon
> >>      Loaded: loaded (/lib/systemd/system/mpd.service; disabled)
> >>      Active: inactive (dead)
> >
> >and that's the issue you see: mpd is not configured to start as a system
> >service on boot ("disabled"). To change that, run 'sudo systemctl enable
> >mpd.service' (and if mpd was not started, as above, start it now).
> >
> >I'm not sure why it's not enabled; unless you changed START_MPD to
> >something other than 'true' in /etc/default/mpd (at which point it
> >wouldn't have started with sysvinit), it should have been
> >configured to start with systemd as well...
> 
> There is no START_MPD in /etc/default/mpd so this is probably the
> origin of the issue.

no, START_MPD was removed from /etc/default/mpd recently, as it's
cumbersome to evaluate from the systemd.service unit.

> I am not using pulseaudio nor running mpd as my own user.
> I'll need to dig up my way into systemd to understand how I can
> configure mpdscribble to start only when mpd starts (probably through
> socket activation).

mpd's systemd unit contains a line 'After=network.target sound.target';
I guess you can have a similar directive in the mpdscribble unit to have
it start after mpd?

Florian



More information about the Pkg-mpd-maintainers mailing list