Open a new service file under /etc/systemd/system.
Section: Authoring Basics
Create custom service file
bash
bash
sudo nano /etc/systemd/system/myapp.serviceExplanation
Custom local units usually belong under /etc/systemd/system.
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