systemd service exits immediately with status 203 exec
Ubuntu 22.04 box, my unit starts and immediately dies. systemctl status says Active: failed (Result: exit-code) with status=203/EXEC. ExecStart is /opt/myapp/venv/bin/python /opt/myapp/app.py, the file exists, ls -l shows -rwxr-xr-x root root. Running that exact command as root works fine. journalctl -u myapp only repeats the 203 line. What does 203 actually mean and why would systemd fail to exec something I can run by hand?
4 replies