diff --git a/monitoring/graphite/uwsgi/apps-enabled/README b/monitoring/graphite/uwsgi/apps-enabled/README new file mode 100644 index 0000000..c3126c4 --- /dev/null +++ b/monitoring/graphite/uwsgi/apps-enabled/README @@ -0,0 +1,10 @@ +Some files found in this directory are processed by uWSGI init.d script as +uWSGI configuration files. + +On system boot for each configuration file new uWSGI daemon instance is started +with additional option. Name of this option is based on configuration file +extension. Path to configuration files is passed as option value. + +See more detailed information at: + * /usr/share/doc/uwsgi/README.Debian.gz + * /etc/default/uwsgi diff --git a/monitoring/graphite/uwsgi/apps-enabled/graphite-web.ini b/monitoring/graphite/uwsgi/apps-enabled/graphite-web.ini new file mode 100644 index 0000000..ab2e0fc --- /dev/null +++ b/monitoring/graphite/uwsgi/apps-enabled/graphite-web.ini @@ -0,0 +1,10 @@ +[uwsgi] +processes = 2 +socket = 127.0.0.1:3031 +gid = www-data +uid = www-data +chdir = /opt/graphite/conf +#wsgi-file = /opt/graphite/conf/graphite.wsgi +pythonpath = /opt/graphite/webapp +env = DJANGO_SETTINGS_MODULE=graphite.settings +module = django.core.wsgi:get_wsgi_application()