mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-21 04:36:49 +08:00
17 lines
420 B
Markdown
17 lines
420 B
Markdown
# 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 {{unit}} --now`
|
|
|
|
- Stop a user service from running on login:
|
|
|
|
`systemctl disable {{unit}} --user`
|