]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
tools/cgcreate: guard systemd default delegate slice
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 17 Nov 2023 08:42:26 +0000 (14:12 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 7 Dec 2023 16:21:09 +0000 (09:21 -0700)
commit330ee95ce86f344d70fde76ec6f09c4854f5919b
tree3de26aef652a5cd0ae9ec1ff3175e541cd5be892
parent8ed741a0dda8c7e1ed17bf8a162d79585dc7e4e4
tools/cgcreate: guard systemd default delegate slice

Guard setting default systemd delegate slice with WITH_SYSTEMD, to limit
the systemd delegation only to --enable-systemd=yes only.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit 3b34789339f52c300bd188f2e1258a7c1e8a8869)
src/tools/cgcreate.c