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
This commit is contained in:
parent
6e6ffdce5e
commit
2ad9bf9a32
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user