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
This commit is contained in:
Thomas Goirand 2016-10-03 14:01:47 +02:00
parent 1806c1e74e
commit 8643f4f1a4
1 changed files with 12 additions and 0 deletions

View File

@ -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
==========