Disable autostart for a service.
Section: Enable, Disable, Mask
Disable on boot
bash
bash
sudo systemctl disable nginxExplanation
Prevents the service from starting automatically.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Enable, Disable, Mask