-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsupervisord.conf
47 lines (43 loc) · 1.59 KB
/
supervisord.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[supervisord]
logfile=/dev/null ; (main log file;default $CWD/supervisord.log)
logfile_maxbytes=0 ; (max main logfile bytes b4 rotation;default 50MB)
logfile_backups=0 ; (num of main logfile rotation backups;default 10)
loglevel=info ; (log level;default info; others: debug,warn,trace)
;pidfile=/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
nodaemon=true ; (start in foreground if true;default false)
user=root
; the below section must remain in the config file for RPC
; (supervisorctl/web interface) to work, additional interfaces may be
; added by defining them in separate rpcinterface: sections
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[program:streamlit]
command=./.venv/bin/python -m streamlit run cprex/ui/streamlit.py --server.port 8501 --server.address=0.0.0.0
directory=/cprex
autostart=true
autorestart=true
startretries=10
user=root
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
[program:grobid]
command=/root/.cprex/grobid/grobid-service/bin/grobid-service
directory=/root/.cprex/grobid
autostart=true
autorestart=true
startretries=10
user=root
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
[program:grobid-quantities]
command=/root/.cprex/grobid/grobid-quantities/bin/grobid-quantities server resources/config/config.yml
directory=/root/.cprex/grobid/grobid-quantities
autostart=true
autorestart=true
startretries=10
user=root
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0