- 11 Nov, 2021 1 commit
-
-
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.
-
- 05 Nov, 2021 1 commit
-
-
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.
-
- 26 Oct, 2021 1 commit
-
-
Max Kellermann authored
-
- 09 Jun, 2020 1 commit
-
-
Max Kellermann authored
The io_uring buffer is allocated as memlocked memory, as MPD needs to be able to lock memory.
-
- 09 Oct, 2019 1 commit
-
-
Max Kellermann authored
On linux-rt, kernel IRQ threads are configured with priority=50, and this change configures MPD somewhat below that priority, leaving some room for other programs to be configured in between. Closes https://github.com/MusicPlayerDaemon/MPD/issues/643
-
- 10 Apr, 2019 2 commits
-
-
Max Kellermann authored
Copy the system socket unit to the "user" directory. Closes https://github.com/MusicPlayerDaemon/MPD/issues/530
-
Max Kellermann authored
This allows using the file as a user unit, where "%t" maps to "$XDG_RUNTIME_DIR". Proposed in https://github.com/MusicPlayerDaemon/MPD/issues/530
-
- 14 Oct, 2018 1 commit
-
-
Max Kellermann authored
So long, autotools! This is my last MPD related project to migrate away from it. It has its strengths, but also very obvious weaknesses and weirdnesses. Today, many of its quirks are not needed anymore, and are cumbersome and slow. Now welcome our new Meson overlords!
-
- 02 Aug, 2018 1 commit
-
-
Max Kellermann authored
-
- 13 Dec, 2016 2 commits
-
-
Max Kellermann authored
The user unit omits the "ProtectKernelModules" setting which fails with modular kernels: Failed at step CAPABILITIES spawning /usr/bin/mpd: Operation not permitted It is unfortunate that systemd (version 232) is unable to reduce its own capabilities, because this requires us to split system and user units. https://bugs.musicpd.org/view.php?id=4608
-
Max Kellermann authored
-
- 09 Dec, 2016 3 commits
-
-
Max Kellermann authored
-
Florian Schlichting authored
-
Clément B authored
e.g. when running 'update-rc.d mpd disable'
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
Tell systemd that MPD is going to notify it when initialization is done.
-
- 15 Dec, 2015 1 commit
-
-
Christian Hesse authored
systemd does not understand LimitRTTIME=-1. For no limit we have to use the string 'infinity' (see systemd.exec(5)). Signed-off-by:
Christian Hesse <mail@eworm.de>
-
- 27 Oct, 2015 1 commit
-
-
Max Kellermann authored
This systemd feature has been removed a while ago without replacement, and it turns out that systemd developers suggest not using control groups at all to assign real-time privileges. Therfore, a replacement feature will not be implement in future systemd releases, and we can really remove those lines completely. See http://bugs.musicpd.org/view.php?id=4413
-
- 11 Aug, 2015 2 commits
-
-
Florian Schlichting authored
-
Clément B authored
e.g. when running 'update-rc.d mpd disable'
-
- 06 Aug, 2015 1 commit
-
-
Wieland Hoffmann authored
This makes references to mpd(1) and mpd(5) appear in systemd status output.
-
- 12 Feb, 2014 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 27 Jan, 2014 1 commit
-
-
Max Kellermann authored
-