-
Notifications
You must be signed in to change notification settings - Fork 0
/
supervisord.conf
35 lines (27 loc) · 1.32 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
; supervisor config file.
[supervisord]
logfile=/tmp/supervisord.log ; main log file; default $CWD/supervisord.log
logfile_maxbytes=50MB ; max main logfile bytes b4 rotation
logfile_backups=10 ; # of main logfile backups; 0 means none
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
silent=false ; no logs to stdout if true; default false
minfds=1024 ; min. avail startup file descriptors; default 1024
minprocs=200 ; min. avail process descriptors;default 200
[program:rasa_server]
directory=/app
command=rasa run -m models --enable-api --cors "*" --bind 0.0.0.0:5005
autorestart=true
;command=/bin/cat ; the program (relative uses PATH, can take args)
;process_name=%(program_name)s ; process_name expr (default %(program_name)s)
;numprocs=1 ; number of processes copies to start (def 1)
stdout_logfile=/dev/fd/1 ; stdout log path, NONE for none; default AUTO
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
[program:custom_action]
directory=/app
command=rasa run actions --cors "*" -P $PORT
autostart=true
autorestart=true