snippetbashTip
systemctl isolate — Start the specified unit with its dependencies and stop all others. Ignores the units which have `Ig
Viewed 0 times
theunitcommandstartsystemctl isolatecliwithspecified
linux
Problem
How to use the
systemctl isolate command: Start the specified unit with its dependencies and stop all others. Ignores the units which have IgnoreOnIsolate=yes. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#isolate%20UNIT>.Solution
systemctl isolate — Start the specified unit with its dependencies and stop all others. Ignores the units which have IgnoreOnIsolate=yes. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#isolate%20UNIT>.Switch to a target (assumed
.target if no extension provided):systemctl isolate {{target}}Switch to graphical target explicitly:
systemctl isolate graphical.targetSwitch to rescue (single-user) mode:
systemctl isolate rescue.targetSwitch to emergency mode:
systemctl isolate emergency.targetCode Snippets
Switch to a target (assumed `.target` if no extension provided)
systemctl isolate {{target}}Switch to graphical target explicitly
systemctl isolate graphical.targetSwitch to rescue (single-user) mode
systemctl isolate rescue.targetSwitch to emergency mode
systemctl isolate emergency.targetContext
tldr-pages: linux/systemctl isolate
Revisions (0)
No revisions yet.