upmpdcli.service needs to start after mpd.service and other suggestions
Description:
On boot there can be a race condition between mpd and upmpdcli causing upmpdcli to not find mpd and fail after boot.
Additional info:
- package version(s): 1.8.8-1
- config and/or log files: upmpdcli.service
- link to upstream bug report, if any:
Steps to reproduce:
- It's very hard to be repeatable, but just reboot until upmpdcli fails. Perhaps just don't enable mpd.service to spot the isuse.
Suggested fix: Add After= and Wants= lines below to the upmpdcli.service
[Unit]
Description=UPnP Renderer front-end to MPD
After=network-online.target mpd.service
Wants=network-online.target
Also if upmpdcli is configured to use alsa, it would be good to have upmpdcli a member of the audio group.
I noted a few other minor issues below.
Edited by Jim Casteel