Update cheatsheets

This commit is contained in:
ivuorinen
2025-09-20 00:18:04 +00:00
parent 2442abf01b
commit 81a6c63f96
16 changed files with 119 additions and 11 deletions

View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl set-environment
> Set one or more service manager environment variables.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#set-environment%20VARIABLE=VALUE%E2%80%A6>.
- Set a single environment variable:
`systemctl set-environment {{var value}}`
- Set multiple environment variables at once:
`systemctl set-environment {{var1 value1 var2 value2 ...}}`
- Set an environment variable for the user service manager:
`systemctl --user set-environment {{var value}}`