Files
cheatsheet-tldr/tldr/linux/systemd-disable
2025-03-18 00:18:35 +00:00

18 lines
436 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/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}} --now`