mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 06:12:16 +00:00
Fix the uwsgi startup scripts and config
This commit is contained in:
@@ -2,6 +2,6 @@ import sys
|
||||
import os
|
||||
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'
|
||||
application = django.core.handlers.wsgi.WSGIHandler()
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<module>auth_wsgi</module>
|
||||
<master/>
|
||||
<processes>5</processes>
|
||||
<daemonize>./logs/uwsgi.log</daemonize>
|
||||
<!--<daemonize>./logs/uwsgi.log</daemonize>-->
|
||||
<pidfile>./logs/uwsgi.pid</pidfile>
|
||||
<vacuum/>
|
||||
</uwsgi>
|
||||
|
||||
Reference in New Issue
Block a user