Remove masking from a unit.
Section: Enable, Disable, Mask
Unmask a service
bash
bash
sudo systemctl unmask nginxExplanation
Required before the service can start again.
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