1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-30 07:53:34 +02:00
tldr/pages/linux/systemctl-mask.md
Managor 5b4fdcbb00
systemctl-mask: add page (#17835)
Create systemctl-mask.md
2025-08-25 19:10:37 -07:00

12 lines
345 B
Markdown

# 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`