Make a unit impossible to start
high risk
systemctl unmask <unit>Undosystemctl disable --now <unit>Less drasticLinks the unit to /dev/null. See the flags and examples below, and run `man systemctl` for the full reference.
systemctl mask sleep.targetMask · explain & risk-check →systemctl unmask sleep.targetUndo · explain & risk-check →Reference text is hand-written and may be incomplete — check man systemctl for your version. Test destructive commands on a non-production system first.