Page 1 of 1

Can't get mpd to start as a user automatically

Posted: Wed Jan 20, 2021 6:33 pm
by sysrqer
Just wondering if anyone can help with this because I'm puzzled.

I have a service for mpd to start as a user but it does not start on boot. If I run

Code: Select all

systemctl --user start mpd.service
manually it starts but for some reason

Code: Select all

systemctl --user enable mpd.service
doesn't make mpd start on a fresh boot.

Any ideas as to why?

Re: Can't get mpd to start as a user automatically

Posted: Wed Jan 20, 2021 8:32 pm
by tavasti
What config file that would use, and is there possibly 'user' defined there? Or is mpd using some directories which aren't owned by user?

I have done running mpd as myseld with just editing /etc/mpd.conf