mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
Updated UWSGI config
This commit is contained in:
11
auth_uwsgi.xml
Normal file
11
auth_uwsgi.xml
Normal 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
2
fabfile.py
vendored
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user