[systemd-devel] how to nest slices under system.slice

Lennart Poettering lennart at poettering.net
Sun Mar 8 15:35:04 PDT 2015


On Thu, 05.03.15 13:55, Umut Tezduyar Lindskog (umut at tezduyar.com) wrote:

> Hi,
> 
> How do I add a slice that is inside the system.slice?

The name is basically the cgroup path. i.e. foo-bar-baz.slice is a
slice below foo-bar.slice, which is below foo.slice, which is below
-.slice.

> Following slice gets nested to -.slice where I want to nest it inside
> system.slice (just like instantaneous service slices).
> 
> hello.slice

Name it "system-hello.slice" and it will be below "system.slice".

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list