summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/files/10-resource-control.conf
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-03-11 17:39:57 +0100
committerLaurent Bonnans <laurent.bonnans@here.com>2019-03-13 15:36:37 +0100
commit8e3886a8ae5c292d0c0ac8245f72ec55ef27bf6c (patch)
treebba8e43bc5fdfaf417082cdd06c8bf57a24f3c5d /recipes-sota/aktualizr/files/10-resource-control.conf
parent3e6b8deed49d0e82f26a939e7b1dd4186b335759 (diff)
downloadmeta-updater-8e3886a8ae5c292d0c0ac8245f72ec55ef27bf6c.tar.gz
Add aktualizr-resource-control
For controlling systemd cgroups configuration of the aktualizr daemon Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Diffstat (limited to 'recipes-sota/aktualizr/files/10-resource-control.conf')
-rw-r--r--recipes-sota/aktualizr/files/10-resource-control.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/files/10-resource-control.conf b/recipes-sota/aktualizr/files/10-resource-control.conf
new file mode 100644
index 0000000..254713c
--- /dev/null
+++ b/recipes-sota/aktualizr/files/10-resource-control.conf
@@ -0,0 +1,6 @@
1[Service]
2CPUAccounting=true
3CPUWeight=@CPU_WEIGHT@
4MemoryAccounting=true
5MemoryHigh=@MEMORY_HIGH@
6MemoryMax=@MEMORY_MAX@