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_nameEnsure that the service is shut down while masking
systemctl mask service_name --nowMask a user service
systemctl mask service_name --usermade by @shridhargupta | data from tldr-pages