1. 11 Nov, 2021 1 commit
    • Max Kellermann's avatar
      Revert "systemd: add "RuntimeDirectory" directive" · 1112d390
      Max Kellermann authored
      This reverts commit 552c30ea.
      
      It has caused various problems; for example, MPD wasn't able to write
      the pid_file (which was already mitigated by commit a4e42172).
      
      And apparently, the socket file created in the same directory by
      mpd.socket disappears when mpd.service (re)creates the directory.  I
      could not reproduce this problem with 247.3, but maybe this is a bug
      in older systemd versions?
      
      Until we figure out why this happens, let's remove the
      RuntimeDirectory directive.  A future MPD version may be launched as
      regular user, not as root, which will eliminate one major problem with
      RuntimeDirectory.
      1112d390
  2. 05 Nov, 2021 1 commit
    • Max Kellermann's avatar
      CommandLine: add option --systemd · ce77b148
      Max Kellermann authored
      This way, MPD can reliably detect whether it was started as systemd
      service, which is better than checking sd_booted(), which only checks
      whether systemd manages all services, but still MPD could be started
      manually.
      ce77b148
  3. 26 Oct, 2021 1 commit
  4. 09 Jun, 2020 1 commit
  5. 09 Oct, 2019 1 commit
  6. 02 Aug, 2018 1 commit
  7. 13 Dec, 2016 1 commit
  8. 09 Dec, 2016 3 commits
  9. 26 Feb, 2016 1 commit
  10. 15 Dec, 2015 1 commit
  11. 27 Oct, 2015 1 commit
  12. 11 Aug, 2015 2 commits
  13. 06 Aug, 2015 1 commit
  14. 12 Feb, 2014 1 commit
  15. 27 Jan, 2014 1 commit
  16. 21 Nov, 2012 1 commit
    • John's avatar
      mpd.service: depend on network.target · a9a5907a
      John authored
      Since some configurations use the "bind_to_address" option in their
      /etc/mpd.conf, the systemd service file must wait for the
      network.target or else mpd will start before it and thus fail due to
      no iface.
      a9a5907a
  17. 30 Sep, 2011 1 commit