mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-03-21 08:59:14 +01:00
40 lines
839 B
Plaintext
40 lines
839 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
logfile=/dev/null
|
|
logfile_maxbytes=0
|
|
pidfile=/tmp/supervisord.pid
|
|
user=root
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///run/supervisord.sock
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[unix_http_server]
|
|
file=/run/supervisord.sock
|
|
chmod=0700
|
|
|
|
[program:web]
|
|
directory=/usr/src/app
|
|
command=/bin/bash /start
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/fd/2
|
|
stderr_logfile_maxbytes=0
|
|
autorestart=true
|
|
startretries=5
|
|
|
|
[program:procrastinate]
|
|
directory=/usr/src/app
|
|
command=/bin/bash /start-procrastinate
|
|
process_name=%(program_name)s_%(process_num)02d
|
|
numprocs=%(ENV_TASK_WORKERS)s
|
|
numprocs_start=1
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/fd/2
|
|
stderr_logfile_maxbytes=0
|
|
autorestart=true
|
|
startretries=5
|