summaryrefslogtreecommitdiff
path: root/systemd
AgeCommit message (Collapse)Author
2020-06-09systemnd: configure LimitMEMLOCK for io_uringMax Kellermann
The io_uring buffer is allocated as memlocked memory, as MPD needs to be able to lock memory.
2019-10-09thread/Util: lower the real-time priority from 50 to 40Max Kellermann
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
2019-04-10systemd: add user socket unitMax Kellermann
Copy the system socket unit to the "user" directory. Closes https://github.com/MusicPlayerDaemon/MPD/issues/530
2019-04-10systemd/socket: use %t instead of hard-coding /runMax Kellermann
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
2018-10-14build with Meson instead of autotoolsMax Kellermann
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!
2018-08-02lib/systemd/Watchdog: implement the systemd watchdog protocolMax Kellermann
2016-12-13Merge tag 'v0.19.21'Max Kellermann
release v0.19.21
2016-12-13systemd: add user unitMax Kellermann
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
2016-12-13systemd: add "system" sub directoryMax Kellermann
2016-12-09Merge tag 'v0.19.20'Max Kellermann
release v0.19.20
2016-12-09systemd: more paranoid security settingsMax Kellermann
2016-12-09systemd: protect /usr when running under systemdFlorian Schlichting
2016-12-09systemd: also disable mpd.socket when disabling mpd.serviceClément B
e.g. when running 'update-rc.d mpd disable'
2016-02-26systemd: set Type=notifyMax Kellermann
Tell systemd that MPD is going to notify it when initialization is done.
2015-12-15Merge tag 'v0.19.12'Max Kellermann
release v0.19.12
2015-12-15fix LimitRTTIME in systemd unit fileChristian Hesse
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>
2015-10-27Merge tag 'v0.19.11'Max Kellermann
2015-10-27systemd: remove obsolete ControlGroup settingsMax Kellermann
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
2015-08-11systemd: protect /usr when running under systemdFlorian Schlichting
2015-08-11systemd: also disable mpd.socket when disabling mpd.serviceClément B
e.g. when running 'update-rc.d mpd disable'
2015-08-06mpd.service: Set the Documentation optionWieland Hoffmann
This makes references to mpd(1) and mpd(5) appear in systemd status output.
2014-02-12systemd: add socket activation filesMax Kellermann
2014-02-12systemd: assign real-time budgetMax Kellermann
2014-01-27move systemd unit to directory systemd/Max Kellermann