Update cheatsheets

This commit is contained in:
ivuorinen
2025-09-21 00:20:59 +00:00
parent 81a6c63f96
commit 0c2e1663ab
6 changed files with 76 additions and 9 deletions

21
tldr/linux/systemctl-exit Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl exit
> Ask the service manager to quit.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#exit%20EXIT_CODE>.
- Exit the user service manager:
`systemctl --user exit`
- Exit the user service manager with a specific exit code:
`systemctl --user exit {{code}}`
- Ask the containers service manager to exit (equivalent of `systemctl poweroff` if not in a container):
`systemctl exit`