From 0cbfb610f232c7a77272039698e5b137267c3159 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 27 Oct 2015 10:32:16 +0100 Subject: 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 --- systemd/mpd.service.in | 9 --------- 1 file changed, 9 deletions(-) (limited to 'systemd') 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 -- cgit v1.2.3