snippetbashTip
systemctl disable — Disable systemd services. See also: `systemctl revert`. More information: <https://www.freedesktop.o
Viewed 0 times
systemdcommandservicesclisystemctl disabledisableseealso
linux
Problem
How to use the
systemctl disable command: Disable systemd services. See also: systemctl revert. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#disable%20UNIT%E2%80%A6>.Solution
systemctl disable — Disable systemd services. See also: systemctl revert. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#disable%20UNIT%E2%80%A6>.Stop a service from running on boot:
systemctl disable {{unit}}Stop a service from running on boot and stop its current execution:
systemctl disable {{unit}} --nowStop a user service from running on login:
systemctl disable {{unit}} --userCode Snippets
Stop a service from running on boot
systemctl disable {{unit}}Stop a service from running on boot and stop its current execution
systemctl disable {{unit}} --nowStop a user service from running on login
systemctl disable {{unit}} --userContext
tldr-pages: linux/systemctl disable
Revisions (0)
No revisions yet.