mirror of
https://github.com/FuzzyGrim/Yamtrack.git
synced 2026-03-03 02:57:01 +00:00
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
user=root
|
|
|
|
[program:nginx]
|
|
command=nginx -g 'daemon off;'
|
|
user=root
|
|
priority=1
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:gunicorn]
|
|
command=gunicorn --config python:config.gunicorn config.wsgi:application
|
|
user=abc
|
|
priority=5
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stdout
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:celery]
|
|
command=sh -c 'if [ "${ENV_DEBUG:-False}" = "True" ]; then LOGLEVEL=DEBUG; else LOGLEVEL=INFO; fi; celery --app config worker --loglevel $LOGLEVEL --without-mingle --without-gossip'
|
|
user=abc
|
|
stopasgroup=true
|
|
stopwaitsecs=60
|
|
priority=10
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stdout
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:celery-beat]
|
|
command=sh -c 'if [ "${ENV_DEBUG:-False}" = "True" ]; then LOGLEVEL=DEBUG; else LOGLEVEL=INFO; fi; celery --app config beat --loglevel $LOGLEVEL'
|
|
user=abc
|
|
stopasgroup=true
|
|
priority=15
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stdout
|
|
stderr_logfile_maxbytes=0 |