mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 16:55:55 +00:00
Update cheatsheets
This commit is contained in:
17
tldr/linux/systemctl-mask
Normal file
17
tldr/linux/systemctl-mask
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl mask
|
||||
|
||||
> Link units to `/dev/null` so that they can be even started.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#mask%20UNIT%E2%80%A6>.
|
||||
|
||||
- Mask a service:
|
||||
|
||||
`systemctl mask {{service_name}}`
|
||||
|
||||
- Ensure that the service is shut down while masking:
|
||||
|
||||
`systemctl mask {{service_name}} --now`
|
||||
Reference in New Issue
Block a user