From 4a12ac423399b91d272f2c97ab65bbcff1581758 Mon Sep 17 00:00:00 2001 From: Stepan Andrushko Date: Wed, 22 Aug 2018 19:01:28 +0300 Subject: Update configure_uwsgi run in baremetal/container Now "daemonize" prevents from installing Yardstick on baremetal. Configuring: "daemonize" in case "container" installation mode; "logto" in case "baremetal" installation mode; JIRA: YARDSTICK-1395 Change-Id: Ie390464db9c0816583edc711ed6526629d091bd3 Signed-off-by: Stepan Andrushko --- ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ansible/roles/configure_uwsgi/templates') diff --git a/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 b/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 index 495febb19..1890f16f9 100644 --- a/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 +++ b/ansible/roles/configure_uwsgi/templates/yardstick.ini.j2 @@ -12,7 +12,7 @@ chmod-socket = 666 callable = app_wrapper enable-threads = true close-on-exec = 1 -logto = {{ log_dir }}/uwsgi.log +{{ uwsgi_log }} = {{ log_dir }}/uwsgi.log socket = {{ socket_file }} {# If virtual environment, we need to add: virtualenv = #} -- cgit 1.2.3-korg