summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-11-18 09:32:09 +0100
committerGitHub <noreply@github.com>2020-11-18 09:32:09 +0100
commite0300086baca5c309c75fa4a5eefe7b020a81d0b (patch)
tree4c286215af890737af1596f599f10cdc388345e6 /docs
parente3500e9d21963d8a61cff71b94a73555c9d74129 (diff)
parent273d76f4f88e9b8b6e3be21d1cde1d0a943009c5 (diff)
downloadsystemd-e0300086baca5c309c75fa4a5eefe7b020a81d0b.tar.gz
Merge pull request #17651 from yuwata/the-the
tree-wide: fix "the the" and "that that"
Diffstat (limited to 'docs')
-rw-r--r--docs/CONTAINER_INTERFACE.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/CONTAINER_INTERFACE.md b/docs/CONTAINER_INTERFACE.md
index 40b1533595..980fce3968 100644
--- a/docs/CONTAINER_INTERFACE.md
+++ b/docs/CONTAINER_INTERFACE.md
@@ -77,7 +77,7 @@ manager, please consider supporting the following interfaces.
container instance) or creating one scope unit for each container instance
via systemd's transient unit API (in case you have one container manager
that manages all instances. Either way, make sure to set `Delegate=yes` in
- it. This ensures that that the unit you created will be part of all cgroup
+ it. This ensures that the unit you created will be part of all cgroup
controllers (or at least the ones systemd understands). The latter may also
be done via `systemd-machined`'s `CreateMachine()` API. Make sure to use the
cgroup path systemd put your process in for all operations of the container.
@@ -364,7 +364,7 @@ If you write software that wants to detect whether it is run in a container,
please check `/proc/1/environ` and look for the `container=` environment
variable. Do not assume the environment variable is inherited down the process
tree. It generally is not. Hence check the environment block of PID 1, not your
-own. Note though that that file is only accessible to root. systemd hence early
+own. Note though that this file is only accessible to root. systemd hence early
on also copies the value into `/run/systemd/container`, which is readable for
everybody. However, that's a systemd-specific interface and other init systems
are unlikely to do the same.