I'm trying to use systemd on Ubuntu 16.04 to run a python 3 process. I've been following the article How to Install and Configure Supervisor on Ubuntu 16.04.
I'm unable to get the systemd service running - status command shows the following:
● supervisord.service - Supervisor daemon
Loaded: loaded (/etc/systemd/system/supervisord.service; disabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2020-02-13 12:39:03 UTC; 1s ago
Docs: http://supervisord.org
Process: 19911 ExecStop=/usr/local/bin/supervisorctl $OPTIONS shutdown (code=exited, status=203/EXEC)
Process: 19902 ExecStart=/usr/local/bin/supervisord -n -c /etc/supervisor/supervisord.conf (code=exited, status=203/E
Main PID: 19902 (code=exited, status=203/EXEC)
I don't know enough about systemd or linux to know what it means.
This is my service configuration /etc/systemd/system/supervisord.service
[Unit]
Description=Supervisor daemon
Documentation=http://supervisord.org
After=network.target
[Service]
ExecStart=/usr/local/bin/supervisord -n -c /etc/supervisor/supervisord.conf
ExecStop=/usr/local/bin/supervisorctl $OPTIONS shutdown
ExecReload=/usr/local/bin/supervisorctl $OPTIONS reload
KillMode=process
Restart=on-failure
RestartSec=42s
[Install]
WantedBy=multi-user.target
Alias=supervisord.service
Can anyone explain what's gone wrong and suggest how to fix?