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