Merge "Fix multiport/scale-out baremetal ansible scripts"
[yardstick.git] / ansible / roles / configure_uwsgi / templates / yardstick.ini.j2
index c049daf..1890f16 100644 (file)
@@ -1,7 +1,7 @@
 [uwsgi]
 master = true
 debug = true
-chdir = {{ yardstick_dir }}api
+chdir = {{ yardstick_dir }}/api
 module = server
 plugins = python
 processes = 10
@@ -12,7 +12,7 @@ chmod-socket = 666
 callable = app_wrapper
 enable-threads = true
 close-on-exec = 1
-daemonize = {{ log_dir }}uwsgi.log
+{{ uwsgi_log }} = {{ log_dir }}/uwsgi.log
 socket = {{ socket_file }}
 {# If virtual environment, we need to add:
-   virtualenv = <virtual_env> #}
\ No newline at end of file
+   virtualenv = <virtual_env> #}