Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Main: ignore the "pid_file" setting if started as systemd service
Commit 552c30e caused problems for those people who still had a "pid_file" setting (even though that is obsolete with systemd), because now /run/mpd is owned by root:root (our mpd.service has no User=mpd directive, so systemd starts MPD as root). To work around this problem, and to be able to keep RuntimeDirectory=mpd (which solved a problem of other MPD users), the best compromise seems to just ignore the "pid_file" setting when it is of no use.
- Loading branch information