Hi and great job!

One thing that I don't like is at line 10
apt-get -y dist-upgrade

this was also in the previous version, actually I see this too restrictive, 
for example I have ubuntu 12.04 and don't want to move to 12.10

Paolo


On Wednesday, December 12, 2012 12:06:16 AM UTC+1, Niphlod wrote:
>
> I run uwsgi using the emperor mode for some time now.... based on my 
> config I tried to upgrade the existing one. Result is available at 
> https://www.dropbox.com/s/n7chteos9sh6p2h/setup-web2py-nginx-uwsgi-ubuntu.sh
>
> I'm looking forward to improve things both on uwsgi niceties and general 
> bash customization (the moment I saw fabric <http://fabfile.org> I almost 
> stopped writing bash :-P)
>
> Improvements:
> - no uwsgi from debian packages (overcomplicated configurations). uwsgi is 
> installed from pip (so you can upgrade with a simple pip install --upgrade 
> uwsgi)
> - optional response.static_version friendly static directories 
> configuration (added also cache headers as an option)
> - improved syntax for web2py.xml (no app, no plugin)
> - example of uwsgi cron facility (clean sessions script included)
> - uwsgi emperor mode, managed with Upstart
> - optional upstart pre-script command to fix permissions and compress 
> static files
>
> If interested, I can make a fabfile for that.
>
> <offtopic on> I use Redis as cache but for the "I love embedded" guys 
> uwsgi has a cache framework. I'm accepting votes to make a uwsgi's cache 
> compatible module for web2py, but you will have to test it (no time for 
> that, sorry)
> <offtopic off>
>

-- 



Reply via email to