snippetbashTip
systemctl reload-or-restart — Reload `systemd` unit(s) otherwise restart them. More information: <https://www.freedesktop.org/soft
Viewed 0 times
systemdunitotherwisecommandrestartsystemctl reload-or-restartreloadcli
linux
Problem
How to use the
systemctl reload-or-restart command: Reload systemd unit(s) otherwise restart them. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#reload-or-restart%20PATTERN%E2%80%A6>.Solution
systemctl reload-or-restart — Reload systemd unit(s) otherwise restart them. More information: <https://www.freedesktop.org/software/systemd/man/latest/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-blockApply the command only to user units:
systemctl reload-or-restart {{unit}} --userCode Snippets
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-blockApply the command only to user units
systemctl reload-or-restart {{unit}} --userContext
tldr-pages: linux/systemctl reload-or-restart
Revisions (0)
No revisions yet.