Harry-zklcdc commited on
Commit
7c5869d
1 Parent(s): 0707833

Create supervisor.conf

Browse files
Files changed (1) hide show
  1. supervisor.conf +27 -0
supervisor.conf ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [program:xvfb]
2
+ priority=0
3
+ command=/opt/bin/start-xvfb.sh
4
+ autostart=true
5
+ autorestart=true
6
+
7
+ ;Logs
8
+ redirect_stderr=false
9
+ stdout_logfile=/var/log/supervisor/xvfb-stdout.log
10
+ stderr_logfile=/var/log/supervisor/xvfb-stderr.log
11
+ stdout_logfile_maxbytes=50MB
12
+ stderr_logfile_maxbytes=50MB
13
+ stdout_logfile_backups=5
14
+ stderr_logfile_backups=5
15
+ stdout_capture_maxbytes=50MB
16
+ stderr_capture_maxbytes=50MB
17
+
18
+ [program:go-bingai-pass]
19
+ command=/app/go-bingai-pass
20
+ directory=/app
21
+ stdout_logfile=/dev/stdout
22
+ stderr_logfile=/dev/stderr
23
+ autostart=true
24
+ autorestart=true
25
+ startsecs=5
26
+ stopwaitsecs = 5
27
+ killasgroup=true