Piyushdash94 commited on
Commit
4d0b499
·
verified ·
1 Parent(s): adcbb74

Update supervisord.conf

Browse files
Files changed (1) hide show
  1. supervisord.conf +15 -1
supervisord.conf CHANGED
@@ -1,21 +1,35 @@
1
  [supervisord]
2
  nodaemon=true
 
 
 
3
 
4
  [program:answer_service]
5
  command=/usr/local/bin/python -m answer_generation
6
  autostart=true
7
  autorestart=true
 
 
 
 
8
 
9
  [program:question_service]
10
  command=/usr/local/bin/python -m question_generation
11
  autostart=true
12
  autorestart=true
13
-
 
 
 
14
  [program:ui]
15
  command=/usr/local/bin/python app.py
16
  autostart=true
17
  autorestart=true
18
  environment=UI_PORT=7861
 
 
 
 
19
 
20
  [program:nginx]
21
  command=/usr/sbin/nginx -g 'daemon off;'
 
1
  [supervisord]
2
  nodaemon=true
3
+ logfile=/dev/stdout
4
+ logfile_maxbytes=0
5
+ pidfile=/tmp/supervisord.pid
6
 
7
  [program:answer_service]
8
  command=/usr/local/bin/python -m answer_generation
9
  autostart=true
10
  autorestart=true
11
+ stdout_logfile=/dev/stdout
12
+ stdout_logfile_maxbytes=0
13
+ stderr_logfile=/dev/stderr
14
+ stderr_logfile_maxbytes=0
15
 
16
  [program:question_service]
17
  command=/usr/local/bin/python -m question_generation
18
  autostart=true
19
  autorestart=true
20
+ stdout_logfile=/dev/stdout
21
+ stdout_logfile_maxbytes=0
22
+ stderr_logfile=/dev/stderr
23
+ stderr_logfile_maxbytes=0
24
  [program:ui]
25
  command=/usr/local/bin/python app.py
26
  autostart=true
27
  autorestart=true
28
  environment=UI_PORT=7861
29
+ stdout_logfile=/dev/stdout
30
+ stdout_logfile_maxbytes=0
31
+ stderr_logfile=/dev/stderr
32
+ stderr_logfile_maxbytes=0
33
 
34
  [program:nginx]
35
  command=/usr/sbin/nginx -g 'daemon off;'