summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-03-29 21:10:03 +0200
committerGitHub <noreply@github.com>2022-03-29 21:10:03 +0200
commit53877d0385129a7b4b4a8ebb8a43982252bc7650 (patch)
treeab0d434311824b5cfb1c3e38e000a8be5c1e080a /docs
parentf8e07c5cb652da80e962c4531517e96ea7076f72 (diff)
parentb380b6438361e39ad5076bfa58d2021621a957af (diff)
downloadsystemd-53877d0385129a7b4b4a8ebb8a43982252bc7650.tar.gz
Merge pull request #22649 from keszybz/symlink-enablement-yet-again-punish-me-harder
Fixups to the unit enablement logic
Diffstat (limited to 'docs')
-rw-r--r--docs/ENVIRONMENT.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md
index 5477110bcc..0cbe5cfb6b 100644
--- a/docs/ENVIRONMENT.md
+++ b/docs/ENVIRONMENT.md
@@ -43,6 +43,11 @@ All tools:
debugging, in order to test generators and other code against specific kernel
command lines.
+* `$SYSTEMD_OS_RELEASE` — if set, use this path instead of `/etc/os-release` or
+ `/usr/lib/os-release`. When operating under some root (e.g. `systemctl
+ --root=…`), the path is taken relative to the outside root. Only useful for
+ debugging.
+
* `$SYSTEMD_FSTAB` — if set, use this path instead of `/etc/fstab`. Only useful
for debugging.