From 2ad9bf9a326ee9f4e39da07f3e0c275674740397aea16473d5adde67cdf18521 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Fri, 26 Jun 2015 14:20:32 +0000 Subject: [PATCH] Accepting request 313409 from home:jengelh:branches:network - boinc-client.service: replace ControlGroup= by Slice=, since ControlGroup is gone since systemd-205 already. We now use the "background.slice". Configuration of the background.slice is left to the administrator since it may be shared by other packages, and is subject to preferences. If you need some default to begin with for the first time, use `systemctl set-property background.slice CPUShares=2`. OBS-URL: https://build.opensuse.org/request/show/313409 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=45 --- boinc-client.changes | 11 +++++++++++ boinc-client.service | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/boinc-client.changes b/boinc-client.changes index 1789c61..5b78f9c 100644 --- a/boinc-client.changes +++ b/boinc-client.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Jun 24 10:53:06 UTC 2015 - jengelh@inai.de + +- boinc-client.service: replace ControlGroup= by Slice=, since + ControlGroup is gone since systemd-205 already. We now use the + "background.slice". Configuration of the background.slice is + left to the administrator since it may be shared by other + packages, and is subject to preferences. If you need some default + to begin with for the first time, use + `systemctl set-property background.slice CPUShares=2`. + ------------------------------------------------------------------- Wed Mar 18 13:09:19 UTC 2015 - jengelh@inai.de diff --git a/boinc-client.service b/boinc-client.service index 4b6b0db..a0bbbb2 100644 --- a/boinc-client.service +++ b/boinc-client.service @@ -5,8 +5,8 @@ After=network.target [Service] Nice=10 User=boinc -CPUShares=2 -ControlGroup=cpu:/background +CPUSchedulingPolicy=batch +Slice=background.slice PermissionsStartOnly=yes ExecStartPre=/bin/sleep 1 ExecStartPre=/usr/bin/touch /var/log/boinc.log /var/log/boincerr.log