aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-10-27 10:32:16 +0100
committerMax Kellermann <max@duempel.org>2015-10-27 10:36:23 +0100
commit0cbfb610f232c7a77272039698e5b137267c3159 (patch)
tree8ed1ced74e58eec8d6d93a0aea026954234114c3 /systemd
parentf901cd042bb7872cc097c6c2d846b70b022ba3f0 (diff)
downloadmpd-0cbfb610f232c7a77272039698e5b137267c3159.tar.gz
mpd-0cbfb610f232c7a77272039698e5b137267c3159.tar.xz
mpd-0cbfb610f232c7a77272039698e5b137267c3159.zip
systemd: remove obsolete ControlGroup settings
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
Diffstat (limited to 'systemd')
-rw-r--r--systemd/mpd.service.in9
1 files changed, 0 insertions, 9 deletions
diff --git a/systemd/mpd.service.in b/systemd/mpd.service.in
index a72eb925c..de91eb4d5 100644
--- a/systemd/mpd.service.in
+++ b/systemd/mpd.service.in
@@ -9,14 +9,5 @@ ExecStart=@prefix@/bin/mpd --no-daemon
LimitRTPRIO=50
LimitRTTIME=-1
-# move MPD to a top-level cgroup, as real-time budget assignment fails
-# in cgroup /system/mpd.service, because /system has a zero real-time
-# budget; see
-# http://www.freedesktop.org/wiki/Software/systemd/MyServiceCantGetRealtime/
-ControlGroup=cpu:/mpd
-
-# assign a real-time budget
-ControlGroupAttribute=cpu.rt_runtime_us 500000
-
[Install]
WantedBy=multi-user.target