|
@@ -3,6 +3,7 @@
|
|
APP_NAME = "test"
|
|
APP_NAME = "test"
|
|
|
|
|
|
bind = "unix:/var/run/%s.sock" % APP_NAME
|
|
bind = "unix:/var/run/%s.sock" % APP_NAME
|
|
|
|
+#bind = '127.0.0.1:8000'
|
|
|
|
|
|
workers = 1
|
|
workers = 1
|
|
worker_class = "gevent"
|
|
worker_class = "gevent"
|
|
@@ -11,7 +12,7 @@ timeout = 60
|
|
|
|
|
|
daemon = False
|
|
daemon = False
|
|
pidfile = "/var/run/%s.pid" % APP_NAME
|
|
pidfile = "/var/run/%s.pid" % APP_NAME
|
|
-chdir = "/root/project/test/project"
|
|
|
|
|
|
+chdir = "/root/project/test/project/"
|
|
|
|
|
|
errorlog = "/data/log/web/%s.log" % APP_NAME
|
|
errorlog = "/data/log/web/%s.log" % APP_NAME
|
|
loglevel = "info"
|
|
loglevel = "info"
|