Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-02 00:21:15 +00:00
parent fde4de0db5
commit 922b1aa234
102 changed files with 288 additions and 216 deletions

View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl import-environment
> Import environment variables from the shell into systemd's environment.
> See also: `show-environment`, `unset-environment`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#%0A%20%20%20%20%20%20%20%20%20%20%20%20import-environment%0A%20%20%20%20%20%20%20%20%20%20%20%20VARIABLE%E2%80%A6%0A%20%20%20%20%20%20%20%20%20%20>.
- Import a variable:
`systemctl import-environment {{variable}}`
- Import multiple variables:
`systemctl import-environment {{variable_1 variable_2 ...}}`
- Import variables for user services:
`systemctl import-environment {{variable}} --user`