mpdcron
mpdcron copied to clipboard
mpdcron will not run as daemon
$ mpdcron Daemon returned 2 as return value
I got it. I edited the mpdcron.conf file and commented out the line where I specified where the pid file was created.
Hey, I had the same problem and resolved it looking into this bug. What about mentioning daemon mode doesn't work if PID is specified in the manpage? It may sound obvious, but remember, we users are... :)
Yes, quite a nice way to start contributing to this poor yet useful software :+1:
I commented out pidfile = ~/.mpdcron/mpdcron.pid in mpdcron.conf but again I get $ mpdcron Daemon returned 2 as return value
Edit: I changed pid permissions and it is OK