On Fri, 2011-04-15 at 15:52 +0300, Audrius Kažukauskas wrote:
> I haven't done this with Pyramid (I'm quite aloof from these things at
> the moment), but when deploying Pylons app, I've used --ini-paste
> option
> and placed [uwsgi] section inside Pylons .ini file.  Thus you can get
> away with only using one .ini file (no .wsgi files needed).  Not sure
> if
> Pyramid is still using Paste for deployment, but if it is, --ini-paste
> should work.

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



-- 
Vincenzo Ampolo
http://vincenzo-ampolo.net
http://goshawknest.wordpress.com

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

Reply via email to