Spaces:
Running
Running
Harry-zklcdc
commited on
Create supervisor.conf
Browse files- supervisor.conf +39 -0
supervisor.conf
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
environment=PORT=8080
|
21 |
+
directory=/app
|
22 |
+
stdout_logfile=/dev/stdout
|
23 |
+
stderr_logfile=/dev/stderr
|
24 |
+
autostart=true
|
25 |
+
autorestart=true
|
26 |
+
startsecs=5
|
27 |
+
stopwaitsecs = 5
|
28 |
+
killasgroup=true
|
29 |
+
|
30 |
+
[program:go-proxy-bingai]
|
31 |
+
command=/app/go-proxy-bingai
|
32 |
+
directory=/app
|
33 |
+
stdout_logfile=/dev/stdout
|
34 |
+
stderr_logfile=/dev/stderr
|
35 |
+
autostart=true
|
36 |
+
autorestart=true
|
37 |
+
startsecs=5
|
38 |
+
stopwaitsecs = 5
|
39 |
+
killasgroup=true
|