Clear old ExecStart then set new one.
Section: Drop-Ins and Overrides
Replace ExecStart in override
ini
ini
[Service]
ExecStart=
ExecStart=/usr/local/bin/myapp --config /etc/myapp/config.ymlExplanation
When overriding ExecStart, the original must often be cleared first.
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 Drop-Ins and Overrides