From ed5a8ca39c778ea85cca6bb5e99ec39869d7a051 Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Tue, 22 Nov 2016 16:06:04 +0000 Subject: 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 --- api/yardstick.ini | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 api/yardstick.ini (limited to 'api/yardstick.ini') 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 -- cgit 1.2.3-korg