systemctl-try-reload-or-restart: add page (#18117)

systemctl-try-reload-or-restart.md: add page
This commit is contained in:
Harshavardhan
2025-09-16 10:26:56 +05:30
committed by GitHub
parent 8a3de69eea
commit 31c10348de
@@ -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}}'`