summaryrefslogtreecommitdiff
path: root/docs/CGROUP_DELEGATION.md
Commit message (Collapse)AuthorAgeFilesLines
* core: add DelegateSubgroup= settingLennart Poettering2023-04-271-1/+3
| | | | | | | | | | | | | | | This implements a minimal subset of #24961, but in a lot more restrictive way: we only allow one level of subcgroup (as that's enough to address the no-processes in inner cgroups rule), and does not change anything about threaded cgroup logic or similar, or make any of this new behaviour mandatory. All this does is this: all non-control processes we invoke for a unit we'll invoke in a subgroup by the specified name. We'll later port all our current services that use cgroup delegation over to this, i.e. user@.service, systemd-nspawn@.service and systemd-udevd.service.
* docs, man: consistently use comma after "For example"Dmitry V. Levin2023-01-231-1/+1
|
* tree-wide: link to docs.kernel.org for kernel documentationnl67202022-07-041-1/+1
| | | | | | | https://www.kernel.org/ links to https://docs.kernel.org/ for the documentation. See https://git.kernel.org/pub/scm/docs/kernel/website.git/commit/?id=ebc1c372850f249dd143c6d942e66c88ec610520 These URLs are shorter and nicer looking.
* tree-wide: streamline wiki linksBenjamin Franzke2022-05-211-2/+2
| | | | | | | | * Avoid traling slash as most links are defined without. * Always use https:// protocol and www. subdomain Allows for easier tree-wide linkvalidation for our migration to systemd.io.
* docs: document the user.delegate xattrLennart Poettering2022-03-161-0/+7
|
* docs: make clear that if you use threaded cgroups you need to do that two ↵Lennart Poettering2022-02-141-0/+9
| | | | | | levels down from your delegated cgroup Prompted by: #22486
* docs: fix typos and improve languageErik Sjölund2022-01-261-1/+1
| | | | | Fix typos and improve the language by adding a few commas and a missing word.
* Merge pull request #20849 from keszybz/man-page-tags-and-linksZbigniew Jędrzejewski-Szmek2021-09-271-0/+1
|\ | | | | Add license tags to doc pages, fixups and more internal links in man pages
| * docs: add spdx tags to all .md filesZbigniew Jędrzejewski-Szmek2021-09-271-0/+1
| | | | | | | | | | | | I have no idea if this is going to cause rendering problems, and it is fairly hard to check. So let's just merge this, and if it github markdown processor doesn't like it, revert.
* | docs: clarify order of events in cgroup scope creationAlberto Mardegan2021-09-231-4/+6
|/
* docs/CGROUP_DELEGATION: fix some typosŠtěpán Němec2021-06-091-3/+3
|
* Explain how to determine hierarchy type from shellFlorian Mayer2020-07-101-0/+2
| | | This makes it easier for people than just recommending the syscall.
* doc: link to html versions of cgroup docsZbigniew Jędrzejewski-Szmek2020-01-091-4/+4
| | | | Also stop linking to some (obsolete) v1 documentation.
* docs: make it prettyTobias Bernard2019-12-111-0/+1
| | | | | | | Add custom Jekyll theme, logo, webfont and .gitignore FIXME: the markdown files have some H1 headers which need to be replaced with H2
* docs: place all our markdown docs in rough categoriesLennart Poettering2019-12-111-0/+1
|
* docs: CGROUP_DELEGATION: fix a typo in "that"Jan Pokorný2019-06-181-1/+1
|
* Merge pull request #11317 from filbranden/docs1Zbigniew Jędrzejewski-Szmek2019-01-031-0/+4
|\ | | | | Improvements to systemd.io generation
| * docs: add a "front matter" snippet to our markdown pagesFilipe Brandenburger2019-01-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out Jekyll (the engine behind GitHub Pages) requires that pages include a "Front Matter" snippet of YAML at the top for proper rendering. Omitting it will still render the pages, but including it opens up new possibilities, such as using a {% for %} loop to generate index.md instead of requiring a separate script. I'm hoping this will also fix the issue with some of the pages (notably CODE_OF_CONDUCT.html) not being available under systemd.io Tested locally by rendering the website with Jekyll. Before this change, the *.md files were kept unchanged (so not sure how that even works?!), after this commit, proper *.html files were generated from it.
* | cgroup: s/cgroups? ?v?([0-9])/cgroup v\1/gIChris Down2019-01-031-33/+33
|/ | | | | | | | | | Nitpicky, but we've used a lot of random spacings and names in the past, but we're trying to be completely consistent on "cgroup vN" now. Generated by `fd -0 | xargs -0 -n1 sed -ri --follow-symlinks 's/cgroups? ?v?([0-9])/cgroup v\1/gI'`. I manually ignored places where it's not appropriate to replace (eg. "cgroup2" fstype and in src/shared/linux).
* docs: document the .control/ subcgroup contract in the docsLennart Poettering2018-11-261-0/+13
|
* Fix a few docs typos (#10907)nikolas2018-11-241-1/+1
| | | Found with [codespell](https://github.com/codespell-project/codespell)
* docs: clarify controller mount logic in hybrid cgroups modeLennart Poettering2018-09-251-4/+8
| | | | Fixes: #10107
* docs: move doc/ to docs/Filipe Brandenburger2018-09-081-0/+456
The docs/ directory is special in GitHub, since it can be used to serve GitHub Pages from, so there's a benefit to switching to it in order to expose it directly as a website. Updated references to it from the documentations themselves, from the CONTRIBUTING.md file and from Meson build files.