Update cheatsheets

This commit is contained in:
ivuorinen
2025-09-02 00:19:25 +00:00
parent 53600d7687
commit e88941b007
3 changed files with 49 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl restart
> Stop and then start one or more systemd units.
> Can be used in place of `systemctl start` on a stopped unit, but `start` is safer so that a running unit isn't accidentally restarted.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#restart%20PATTERN%E2%80%A6>.
- Restart a unit:
`systemctl restart {{unit}}`
- Restart more than one unit:
`systemctl restart {{unit1 unit2 ...}}`