From 8643f4f1a4c2405c38b00b1ffecd042599c7e8d2 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Mon, 3 Oct 2016 14:01:47 +0200 Subject: [PATCH] Adds notes on how to launch aodh-api with uwsgi This patch documents how to start aodh-api using uwsgi-plugin-python on Debian/Ubuntu. Change-Id: I381f2500a3a9a1af2da5e58d2c7c4e807e859ab4 --- doc/source/install/uwsgi.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/source/install/uwsgi.rst b/doc/source/install/uwsgi.rst index d831da3b7..98588ef16 100644 --- a/doc/source/install/uwsgi.rst +++ b/doc/source/install/uwsgi.rst @@ -49,6 +49,18 @@ Or start in background with:: uwsgi -d ./aodh-uwsgi.ini +Configuring with uwsgi-plugin-python on Debian/Ubuntu +===================================================== + +Install the Python plugin for uwsgi: + + apt-get install uwsgi-plugin-python + +Run the server: + + uwsgi_python --master --die-on-term --logto /var/log/aodh/aodh-api.log \ + --http-socket :8042 --wsgi-file /usr/share/aodh-common/app.wsgi + Limitation ==========