mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-03-30 06:02:10 +02:00
38 lines
739 B
Plaintext
38 lines
739 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
logfile=/dev/null
|
|
logfile_maxbytes=0
|
|
pidfile=/tmp/supervisord.pid
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///tmp/supervisord.sock
|
|
|
|
[unix_http_server]
|
|
file=/tmp/supervisord.sock
|
|
chmod=0700
|
|
|
|
[program:web]
|
|
user=app
|
|
directory=/usr/src/app
|
|
command=/bin/bash /start
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/fd/1
|
|
stderr_logfile_maxbytes=0
|
|
autorestart=true
|
|
startretries=5
|
|
|
|
[program:procrastinate]
|
|
user=app
|
|
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/1
|
|
stderr_logfile_maxbytes=0
|
|
autorestart=true
|
|
startretries=5
|