diff options
author | Alberto Mardegan <alberto.mardegan@canonical.com> | 2021-09-23 15:48:06 +0300 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2021-09-23 16:02:03 +0100 |
commit | 4db9e01f7fc6c5da767a96a6ebf85c0ac4e3efda (patch) | |
tree | 8d2219feb1cd34f5054630bf7cbc2c9241193194 | |
parent | cf7c7512f588a5e93908cc9114cf25d9dabb2445 (diff) | |
download | systemd-4db9e01f7fc6c5da767a96a6ebf85c0ac4e3efda.tar.gz |
docs: clarify order of events in cgroup scope creation
-rw-r--r-- | docs/CGROUP_DELEGATION.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/CGROUP_DELEGATION.md b/docs/CGROUP_DELEGATION.md index 773f254a1e..292e3a8ed2 100644 --- a/docs/CGROUP_DELEGATION.md +++ b/docs/CGROUP_DELEGATION.md @@ -309,10 +309,12 @@ You basically have three options: 3. 🙁 The *i-like-continents* option. In this option you'd leave your manager daemon where it is, and would not turn on delegation on its unit. However, - as first thing you register a new scope unit with systemd, and that scope - unit would have `Delegate=` turned on, and then you place all your - containers underneath it. From systemd's PoV there'd be two units: your - manager service and the big scope that contains all your containers in one. + as you start your first managed process (a container, for example) you would + register a new scope unit with systemd, and that scope unit would have + `Delegate=` turned on, and it would contain the PID of this process; all + your managed processes subsequently created should also be moved into this + scope. From systemd's PoV there'd be two units: your manager service and the + big scope that contains all your managed processes in one. BTW: if for whatever reason you say "I hate D-Bus, I'll never call any D-Bus API, kthxbye", then options #1 and #3 are not available, as they generally |