Systemctl Mask - Disable Units on Linux | Online Free DevTools by Hexmos
Disable units with systemctl mask on Linux. Prevent services from starting and ensure system stability with this powerful command-line tool. Free online tool, no registration required.
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
- Mask a user service:
sysemctl mask --user {{service_name}}