Activate the new custom service.
Section: Authoring Basics
Enable and start custom unit
bash
bash
sudo systemctl enable --now myapp.serviceExplanation
Common final step after authoring a unit.
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 Authoring Basics
Reload after creating unit
Refresh manager state after writing a new service.
Create custom service file
Open a new service file under /etc/systemd/system.