Hi, this is the first time trying to use uwsgi, and stuck at integrating it into supervisord for process management
I have my project set up in a virtualenv. I've created a uwsgi.ini file, and can start the server manually with "uwsgi --ini /home/openerp/etc/openerp.uwsgi.ini". Everything works fine. Then I've created a supervisord config script file using a Procfile and foreman. Starting the program through supervisord fails with the following log lines: realpath() of uwsgi.ini failed: No such file or directory [core/utils.c line 3580 the uwsgi ini file is: [uwsgi] http = 127.0.0.1:9090 module = wsgi:application chdir = /home/openerp/odoo pythonpath = /home/openerp/.virtualenvs/odoo/lib/python2.7/site-packages env = OPENERP_CONFIGRC=/home/openerp/etc/openerp_serverrc processes = 4 threads = 2 memory-report = true stats = 127.0.0.1:9191 vacuum = True The supervisord config is: [program:odoo-web-1] command=uwsgi --ini /home/openerp/etc/openerp.uwsgi.ini autostart=true autorestart=true stopsignal=QUIT stdout_logfile=/home/openerp/logs/odoo/web-1.log stderr_logfile=/home/openerp/logs/odoo/web-1.error.log user=openerp directory=/home/openerp/odoo environment=PORT="5000" [group:odoo] programs=odoo-web-1 Other details: - Operating system version: Ubuntu 14.04 - CPU architecture: 64 - Webserver used (if any): nginx (but I'm not there yet) - uWSGI version: 2.0.4
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
