summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/files
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-03-11 17:39:57 +0100
committerPatrick Vacek <patrickvacek@gmail.com>2019-04-29 09:25:04 +0200
commit9c2ee9510a955b38cf15bef3c6c9ff6c583309b1 (patch)
tree72e930b96bbaacf8201a55db40b6f6ad173ac865 /recipes-sota/aktualizr/files
parent830cb1ed904beed025833a55753883a99b5cb671 (diff)
downloadmeta-updater-9c2ee9510a955b38cf15bef3c6c9ff6c583309b1.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')
-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@