Skip to content

Commit 88c2532

Browse files
TheRootDaemonacuteenvymsaf9
authored
systemctl-reload-or-restart: add page (#19278)
Co-authored-by: Lena Pastwa <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Sahil Afrid Farookhi <msafarookhi@gmail.com>
1 parent 8d63d57 commit 88c2532

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# systemctl reload-or-restart
2+
3+
> Reload `systemd` unit(s) otherwise restart them.
4+
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#reload-or-restart%20PATTERN%E2%80%A6>.
5+
6+
- Reload or restart a unit:
7+
8+
`systemctl reload-or-restart {{unit}}`
9+
10+
- Reload or restart multiple units matching a pattern:
11+
12+
`systemctl reload-or-restart {{pattern}}`
13+
14+
- Run the command without waiting for the operation to complete:
15+
16+
`systemctl reload-or-restart {{unit}} --no-block`
17+
18+
- Apply the command only to user units:
19+
20+
`systemctl reload-or-restart {{unit}} --user`

0 commit comments

Comments
 (0)