32 lines
588 B
Plaintext
32 lines
588 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
pidfile=/tmp/supervisord.pid
|
|
logfile=/dev/null
|
|
logfile_maxbytes=0
|
|
|
|
[program:runner]
|
|
command=node /opt/runner/index.js
|
|
priority=10
|
|
autostart=true
|
|
autorestart=true
|
|
startsecs=2
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/fd/2
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:multica]
|
|
command=/usr/local/bin/multica-runtime
|
|
priority=20
|
|
autostart=true
|
|
autorestart=true
|
|
startsecs=2
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/fd/2
|
|
stderr_logfile_maxbytes=0
|