self / supervisord.conf
cnxqchen's picture
Upload 5 files
fa7fe4b verified
raw
history blame contribute delete
935 Bytes
[unix_http_server]
file=%(ENV_RUNTIME_DIR)s/supervisor.sock
chmod=0700
[supervisord]
nodaemon=true
pidfile=%(ENV_RUNTIME_DIR)s/supervisord.pid
logfile=%(ENV_RUNTIME_DIR)s/supervisord.log
logfile_maxbytes=0
minfds=65535
[rpcinterface:supervisor]
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix://%(ENV_RUNTIME_DIR)s/supervisor.sock
[program:__APP_PROGRAM__]
command=/bin/sh %(ENV_RUNTIME_DIR)s/run-app.sh
autostart=true
autorestart=true
startsecs=0
stopasgroup=true
killasgroup=true
stopwaitsecs=%(ENV_STOP_WAIT_SECS)s
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
[program:__UPDATER_PROGRAM__]
command=/usr/local/bin/update-loop.sh
autostart=true
autorestart=true
startsecs=0
stopasgroup=true
killasgroup=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0