Updated UWSGI config

This commit is contained in:
2011-02-16 23:23:09 +00:00
parent c66fae2810
commit 9c50af8425
2 changed files with 12 additions and 1 deletions

11
auth_uwsgi.xml Normal file
View File

@@ -0,0 +1,11 @@
<uwsgi>
<socket>127.0.0.1:8811</socket>
<home>./env/</home>
<pythonpath>./</pythonpath>
<module>auth_wsgi</module>
<master/>
<processes>5</processes>
<daemonize>./logs/uwsgi.log</daemonize>
<pidfile>./logs/uwsgi.pid</pidfile>
</uwsgi>

2
fabfile.py vendored
View File

@@ -196,7 +196,7 @@ def restart_celeryd():
def start_uwsgi():
with cd('%(path)s/dreddit-auth/' % env):
run('uwsgi -x uwsgi.xml' % env)
run('uwsgi -x auth_uwsgi.xml' % env)
def stop_uwsgi():