mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 22:48:37 +00:00
Update cheatsheets
This commit is contained in:
17
tldr/linux/systemd-disable
Normal file
17
tldr/linux/systemd-disable
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
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`
|
||||
Reference in New Issue
Block a user