I am making an internet radio using a raspberry pi B+. I am using Music Player Daemon (MPD) and MPC. I have it mostly working as expected but I can not figure out how to get MPD to autostart when I turn on the pi. If I have MPD running and I do
sudo shutdown -h now
the pi will restart with it playing but if it turns off when MPD is not playing then I will have to remote into it and
to get the music to start. I have tried using rc.local with
but that didn't work.
I am using the latest version of rasbian released in November 2018. The MPD service is enabled and running when it is powered on.