1
0
forked from pool/boinc-client
Dominique Leuenberger 2015-06-30 08:16:44 +00:00 committed by Git OBS Bridge
commit 23bb961dfb
2 changed files with 13 additions and 2 deletions

View File

@ -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 Wed Mar 18 13:09:19 UTC 2015 - jengelh@inai.de

View File

@ -5,8 +5,8 @@ After=network.target
[Service] [Service]
Nice=10 Nice=10
User=boinc User=boinc
CPUShares=2 CPUSchedulingPolicy=batch
ControlGroup=cpu:/background Slice=background.slice
PermissionsStartOnly=yes PermissionsStartOnly=yes
ExecStartPre=/bin/sleep 1 ExecStartPre=/bin/sleep 1
ExecStartPre=/usr/bin/touch /var/log/boinc.log /var/log/boincerr.log ExecStartPre=/usr/bin/touch /var/log/boinc.log /var/log/boincerr.log