diff options
author | Laurent Bonnans <laurent.bonnans@here.com> | 2019-03-11 17:39:57 +0100 |
---|---|---|
committer | Laurent Bonnans <laurent.bonnans@here.com> | 2019-03-13 15:36:37 +0100 |
commit | 8e3886a8ae5c292d0c0ac8245f72ec55ef27bf6c (patch) | |
tree | bba8e43bc5fdfaf417082cdd06c8bf57a24f3c5d /recipes-sota/aktualizr/files/10-resource-control.conf | |
parent | 3e6b8deed49d0e82f26a939e7b1dd4186b335759 (diff) | |
download | meta-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.conf | 6 |
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] | ||
2 | CPUAccounting=true | ||
3 | CPUWeight=@CPU_WEIGHT@ | ||
4 | MemoryAccounting=true | ||
5 | MemoryHigh=@MEMORY_HIGH@ | ||
6 | MemoryMax=@MEMORY_MAX@ | ||