Update supervisor.conf
This commit is contained in:
parent
25c4672845
commit
239acb5f95
|
@ -1,4 +1,5 @@
|
||||||
[supervisord]
|
[supervisord]
|
||||||
|
environment=LEMUR_CONF=/home/lemur/.lemur/lemur.conf.py
|
||||||
nodaemon=true
|
nodaemon=true
|
||||||
user=root
|
user=root
|
||||||
logfile=/dev/stdout
|
logfile=/dev/stdout
|
||||||
|
@ -6,8 +7,9 @@ logfile_maxbytes=0
|
||||||
pidfile = /tmp/supervisord.pid
|
pidfile = /tmp/supervisord.pid
|
||||||
|
|
||||||
[program:lemur]
|
[program:lemur]
|
||||||
command=/usr/bin/python3 /opt/lemur/lemur/manage.py start -b 0.0.0.0:8000
|
command=/usr/bin/python3 manage.py start -b 0.0.0.0:8000
|
||||||
user=lemur
|
user=lemur
|
||||||
|
directory=/opt/lemur/lemur
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes = 0
|
stdout_logfile_maxbytes = 0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
|
@ -21,7 +23,7 @@ stdout_logfile_maxbytes = 0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
stderr_logfile_maxbytes=0
|
stderr_logfile_maxbytes=0
|
||||||
|
|
||||||
[program:dcron]
|
[program:cron]
|
||||||
command=/usr/sbin/crond -f
|
command=/usr/sbin/crond -f
|
||||||
user=root
|
user=root
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
|
|
Loading…
Reference in New Issue