On Fri, 2011-04-15 at 15:22:56 +0200, Vincenzo Ampolo wrote:
> Yeah it uses Paste for deployment. I set it up using the wsgi file but
> as soon as i comment the wsgi-file line in the [uwsgi] section it
> doesn't work anymore.
> 
> So, this works:
> 
> [uwsgi]
> socket = /tmp/milo_uwsgi.sock
> master = true
> processes = 1
> wsgi-file = /var/www/milo/milo_app/pyramid.wsgi
> 
> and this doesn't:
> 
> [uwsgi]
> socket = /tmp/milo_uwsgi.sock
> master = true
> processes = 1
> #dfdfdwsgiii-file = /var/www/milo/milo_app/pyramid.wsgi

How are you invoking uwsgi?

I was doing the following:

  $ uwsgi --ini-paste /path/to/production.ini --pidfile /path/to/pid

And in production.ini there was included:

  [uwsgi]
  processes = 1
  socket = /path/to/socket-file
  home = /path/to/virtualenv
  master = true

This was done using uWSGI 0.9.6.x.  I'll try this now with 0.9.7.x to
see if it still works.

-- 
Audrius Kažukauskas

Attachment: pgpvCCc7AzXBN.pgp
Description: PGP signature

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to