aboutsummaryrefslogtreecommitdiffstats
path: root/api/yardstick.ini
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2016-11-22 16:06:04 +0000
committerchenjiankun <chenjiankun1@huawei.com>2016-11-23 09:51:05 +0000
commited5a8ca39c778ea85cca6bb5e99ec39869d7a051 (patch)
treedad753e5dae4a424ae8d1c268ca92a5f69db5758 /api/yardstick.ini
parent0e23c697e6329a57ba168cc57886b436ea87cdc4 (diff)
Deployment for API
JIRA: YARDSTICK-418 Set yardstick.conf in /etc/yardstick/ to config yardstick output way Set nginx config file Set nginx service and uwsgi service start when boot Change-Id: I5749042ae1b05feaf895cb0abffed7f9194b9cee Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'api/yardstick.ini')
-rw-r--r--api/yardstick.ini16
1 files changed, 16 insertions, 0 deletions
diff --git a/api/yardstick.ini b/api/yardstick.ini
new file mode 100644
index 000000000..535022960
--- /dev/null
+++ b/api/yardstick.ini
@@ -0,0 +1,16 @@
+[uwsgi]
+master = true
+debug = true
+chdir = /home/opnfv/repos/yardstick/api
+module = server
+plugins = python
+processes = 10
+threads = 5
+async = true
+max-requests = 5000
+chmod-socket = 666
+callable = app
+enable-threads = true
+close-on-exec = 1
+daemonize=/home/kklt/kklt/api/uwsgi.log
+socket = /home/opnfv/repos/yardstick/api/yardstick.sock