mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 19:59:24 +08:00
systemctl-try-reload-or-restart: add page (#18117)
systemctl-try-reload-or-restart.md: add page
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# systemctl try-reload-or-restart
|
||||
|
||||
> Reload one or more units if they support it; otherwise restart them.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#try-reload-or-restart%20PATTERN%E2%80%A6>.
|
||||
|
||||
- Reload or restart a specific unit:
|
||||
|
||||
`systemctl try-reload-or-restart {{unit}}`
|
||||
|
||||
- Reload or restart multiple units:
|
||||
|
||||
`systemctl try-reload-or-restart {{unit1 unit2 ...}}`
|
||||
|
||||
- Reload or restart all units matching a pattern:
|
||||
|
||||
`systemctl try-reload-or-restart '{{pattern}}'`
|
||||
Reference in New Issue
Block a user