[program:sam_reports_uwsgi]
command=uwsgi --ini /var/www/phis-ng/server_config/staging_wsgi.ini
autostart=true
autorestart=true
stopsignal=QUIT
stdout_logfile=/var/log/sam_reports/stdout.log
stderr_logfile=/var/log/sam_reports/stderr.log
user=ubuntu
directory=/var/www/phis-ng/src/imam
This is the conf file I have for supervisord but when I try to run supervisord staging_supervisor.conf
in the folder it is located, it gives me this error:
Error: positional arguments are not supported
I can't see what I am doing wrong comparing it against what I've found via Google and supervisord docs. I'm using supervisord 3.0.
Change:
ENTRYPOINT ["/usr/bin/supervisord"]
to
CMD ["/usr/bin/supervisord"]
Unfortunately cannot yet explain why that helps.