commands.sh

systemctl mask

linux

Link units to `/dev/null` so that they cannot be started. See also: `systemctl revert`.

More info →

Examples (3)

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

systemctl mask service_name --user
made by @shridhargupta | data from tldr-pages