Diagnostic step 1
Inspect unit status and journal: sudo systemctl daemon-reload; sudo systemctl start myapp.service; sudo systemctl status myapp.service -n 50; sudo journalctl -u myapp.service -n 200 --no-pager Result meaning: Journal lines commonly show the underlying exec failure. 'Permission denied' suggests file mode or mount options. 'No such file or directory' with valid path often indicates bad interpreter or CRLF line endings.