diff options
author | Michal Sekletar <msekleta@redhat.com> | 2022-09-07 17:37:34 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-11-24 09:28:22 +0900 |
commit | 88e4bfa62bd2561e04a90dc009e7a3865e0878fb (patch) | |
tree | 956166fb2a432e4fb5fa17804e76fe8e7c752781 /docs | |
parent | 80d95fcd6e1947a7887b96b22a32dbca115baac9 (diff) | |
download | systemd-88e4bfa62bd2561e04a90dc009e7a3865e0878fb.tar.gz |
core: add possibility to not track certain unit types
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ENVIRONMENT.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md index 32bd9598b7..01ee065583 100644 --- a/docs/ENVIRONMENT.md +++ b/docs/ENVIRONMENT.md @@ -274,6 +274,15 @@ All tools: it is either set to `system` or `user` depending on whether the NSS/PAM module is called by systemd in `--system` or `--user` mode. +* `$SYSTEMD_SUPPORT_DEVICE`, `$SYSTEMD_SUPPORT_MOUNT`, `$SYSTEMD_SUPPORT_SWAP` - + can be set to `0` to mark respective unit type as unsupported. Generally, + having less units saves system resources so these options might be useful + for cases where we don't need to track given unit type, e.g. `--user` manager + often doesn't need to deal with device or swap units because they are + handled by the `--system` manager (PID 1). Note that setting certain unit + type as unsupported may not prevent loading some units of that type if they + are referenced by other units of another supported type. + `systemd-remount-fs`: * `$SYSTEMD_REMOUNT_ROOT_RW=1` — if set and no entry for the root directory |