• Max Kellermann's avatar
    Main: ignore the "pid_file" setting if started as systemd service · a4e42172
    Max Kellermann authored
    Commit 552c30ea 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.
    a4e42172
Name
Last commit
Last update
.github Loading commit data...
android Loading commit data...
build Loading commit data...
doc Loading commit data...
python/build Loading commit data...
src Loading commit data...
subprojects Loading commit data...
systemd Loading commit data...
test Loading commit data...
win32 Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
mpd.svg Loading commit data...
valgrind.suppressions Loading commit data...