mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 14:22:16 +00:00
Fix the uwsgi startup scripts and config
This commit is contained in:
@@ -2,6 +2,6 @@ import sys
|
|||||||
import os
|
import os
|
||||||
import django.core.handlers.wsgi
|
import django.core.handlers.wsgi
|
||||||
|
|
||||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "../")))
|
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "app")))
|
||||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'app.settings'
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'app.settings'
|
||||||
application = django.core.handlers.wsgi.WSGIHandler()
|
application = django.core.handlers.wsgi.WSGIHandler()
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<module>auth_wsgi</module>
|
<module>auth_wsgi</module>
|
||||||
<master/>
|
<master/>
|
||||||
<processes>5</processes>
|
<processes>5</processes>
|
||||||
<daemonize>./logs/uwsgi.log</daemonize>
|
<!--<daemonize>./logs/uwsgi.log</daemonize>-->
|
||||||
<pidfile>./logs/uwsgi.pid</pidfile>
|
<pidfile>./logs/uwsgi.pid</pidfile>
|
||||||
<vacuum/>
|
<vacuum/>
|
||||||
</uwsgi>
|
</uwsgi>
|
||||||
|
|||||||
Reference in New Issue
Block a user