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
This commit is contained in:
Max Kellermann 2015-10-27 10:32:16 +01:00
parent f901cd042b
commit 0cbfb610f2
1 changed files with 0 additions and 9 deletions

View File

@ -9,14 +9,5 @@ ExecStart=@prefix@/bin/mpd --no-daemon
LimitRTPRIO=50 LimitRTPRIO=50
LimitRTTIME=-1 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] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target