fuel-library/deployment/puppet/nailgun/templates/uwsgi_nailgun.yaml.erb
Dmitry Teselkin 1fe00b4019 Fix site-packages path for python 2.7
CentOS7 comes with python2.7 included, so we need to
update path to site-packages directory

Blueprint: master-on-centos7

Compatible with CentOS6 & CentOS7 master node

Change-Id: Ifa7026ef5e090d740797567e99dae0f08e41c310
2015-12-02 16:56:27 +03:00

20 lines
501 B
Plaintext

uwsgi:
enable-threads: 1
threads: 1
workers: <%= (@physicalprocessorcount) %>
master: 1
socket: :8001
plugin: python
chown-socket: nginx:nginx
pythonpath: <%= @site_packages_path %>/nailgun
touch-reload: /var/lib/nailgun-uwsgi
virtualenv: <%= @venv %>
module: nailgun.wsgi
buffer-size: 49180
listen: <%= @somaxconn %>
pidfile: /var/run/nailgun.pid
logto: /var/log/nailgun/app.log
mule: 1
lazy: true
shared-pyimport: <%= @site_packages_path %>/nailgun/utils/mule.py