Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions pages/linux/systemctl-reload-or-restart.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# systemctl reload-or-restart

> Reload `systemd` unit(s) otherwise restart them.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#reload-or-restart%20PATTERN%E2%80%A6>.

- Reload or restart a unit:

`systemctl reload-or-restart {{unit}}`

- Reload or restart multiple units matching a pattern:

`systemctl reload-or-restart {{pattern}}`

- Run the command without waiting for the operation to complete:

`systemctl reload-or-restart {{unit}} --no-block`

- Apply the command only to user units:

`systemctl reload-or-restart {{unit}} --user`