Files
cheatsheet-tldr/tldr/linux/systemctl-disable
2025-09-25 00:19:09 +00:00

22 lines
512 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl disable
> Disable systemd services.
> More information: <https://www.freedesktop.org/software/systemd/man/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 --now {{unit}}`
- Stop a user service from running on login:
`systemctl disable --user {{unit}}`