Create boot-time activation links for a unit.
Section: Services systemd and Journal
Enable service on boot
bash
bash
sudo systemctl enable nginxExplanation
Ensures the service starts automatically after reboot.
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 Services systemd and Journal