Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge "Yardstick install storperf update"
[yardstick.git]
/
api
/
api-prepare.sh
diff --git
a/api/api-prepare.sh
b/api/api-prepare.sh
index
f2be489
..
7632d9d
100755
(executable)
--- a/
api/api-prepare.sh
+++ b/
api/api-prepare.sh
@@
-33,6
+33,9
@@
close-on-exec = 1
daemonize= /var/log/yardstick/uwsgi.log
socket = /var/run/yardstick.sock
EOF
+ if [[ "${YARDSTICK_VENV}" ]];then
+ echo "virtualenv = ${YARDSTICK_VENV}" >> "${uwsgi_config}"
+ fi
fi
# nginx config