I\'m trying to start a service with supervisor, but I get an error saying
INFO spawnerr: unknown error making dispatchers for \'app_name\': EACCES
>
I had the same issue, I recommend doing the following
Add user who runs the service. user=youruser
moving your log to a supervisor dir
from:
logfile=/tmp/supervisord.log
to:
logfile=/var/log/supervisor/supervisord.log
The same goes to you pid file
pidfile=/tmp/supervisord.pid >> pidfile=/var/run/supervisor/supervisord.pid
Make both dirs
mkdir /var/run/supervisor/
mkdir /var/log/supervisor/
then change the of the dir with
chown youuser:youuser -R /var/log/supervisor/
If this dosen't work double check who can write on you log files and pid files.
ls -l /var/log/supervisor/supervisord.log
If it still dosen't work try updating you supervisor