BuildBrowser / supervisord.conf
StarrySkyWorld's picture
Create supervisord.conf
7df5e11 verified
raw
history blame contribute delete
570 Bytes
[supervisord]
nodaemon=true
user=root
logfile=/dev/stdout
logfile_maxbytes=0
pidfile=/var/run/supervisord.pid
[program:wireproxy]
command=/usr/local/bin/wireproxy -c /app/warp/wireproxy.conf
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
priority=10
[program:app]
command=/bin/bash -c "sleep 5 && python main.py"
directory=/app
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
priority=20