From 8e3886a8ae5c292d0c0ac8245f72ec55ef27bf6c Mon Sep 17 00:00:00 2001 From: Laurent Bonnans Date: Mon, 11 Mar 2019 17:39:57 +0100 Subject: Add aktualizr-resource-control For controlling systemd cgroups configuration of the aktualizr daemon Signed-off-by: Laurent Bonnans --- recipes-sota/aktualizr/files/10-resource-control.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 recipes-sota/aktualizr/files/10-resource-control.conf (limited to 'recipes-sota/aktualizr/files/10-resource-control.conf') 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 @@ +[Service] +CPUAccounting=true +CPUWeight=@CPU_WEIGHT@ +MemoryAccounting=true +MemoryHigh=@MEMORY_HIGH@ +MemoryMax=@MEMORY_MAX@ -- cgit v1.2.3-54-g00ecf