systemctl mask nginx

Category: Administration

systemctl mask nginx

Completely prevent a service from being started

Completely prevents a service from being started by anyone, even root. More restrictive than disable.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.