From c80559005f91acab92e3531de8d7a7ccb301c085 Mon Sep 17 00:00:00 2001 From: Robert Picard Date: Thu, 10 Dec 2015 17:39:49 -0800 Subject: [PATCH] Update example supervisor configuration file supervisord should run as root and spawn the lemur process as the lemur user. I also added the LEMUR_CONF environment variable because it was not reading the configuration file in by default. --- docs/production/index.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/production/index.rst b/docs/production/index.rst index d7748187..e154a083 100644 --- a/docs/production/index.rst +++ b/docs/production/index.rst @@ -257,13 +257,12 @@ Create a configuration file named supervisor.ini:: nodaemon=false minfds=1024 minprocs=200 - user=lemur [program:lemur] command=python /path/to/lemur/manage.py manage.py start directory=/path/to/lemur/ - environment=PYTHONPATH='/path/to/lemur/' + environment=PYTHONPATH='/path/to/lemur/',LEMUR_CONF='/home/lemur/.lemur/lemur.conf.py' user=lemur autostart=true autorestart=true