From: Kamalesh Babulal Date: Fri, 3 Feb 2023 07:05:09 +0000 (+0000) Subject: samples/config: add a sample systemd delegation configuration X-Git-Tag: v3.1.0~214 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a06b236316d27cc19f5d0bbfd3ecf197328170c9;p=thirdparty%2Flibcgroup.git samples/config: add a sample systemd delegation configuration Add a sample cgconfig.conf configuration file, that serves as a template for systemd delegation and how users can control the resources limit allocation such as cpu, memory, or any other valid cgroup settings for the systemd slice/scope cgroup created. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- diff --git a/samples/config/cgconfig_systemd.conf b/samples/config/cgconfig_systemd.conf new file mode 100644 index 00000000..bfedf706 --- /dev/null +++ b/samples/config/cgconfig_systemd.conf @@ -0,0 +1,22 @@ +# SPDX-License-Identifier: LGPL-2.1-only +# +# Copyright (c) 2023 Oracle and/or its affiliates. +# Author: Kamalesh Babulal +# + +#systemd { +# slice = database.slice; +# scope = db.scope; +# setdefault = yes; +#} +# +#systemd { +# slice = database.slice; +# scope = house_keeping.scope; +# pid = 3456; +#} +# +#systemd { +# slice = others.slice; +# scope = server.scope; +#}