mirror of
https://github.com/FuzzyGrim/Yamtrack.git
synced 2026-03-03 02:47:03 +00:00
34 lines
767 B
Plaintext
34 lines
767 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
user=root
|
|
|
|
[program:gunicorn]
|
|
command=gunicorn --bind :8000 --preload config.wsgi:application
|
|
user=abc
|
|
priority=1
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:celery]
|
|
command=celery --app config worker --beat --loglevel INFO --without-mingle --without-gossip
|
|
user=abc
|
|
stopasgroup=true
|
|
stopwaitsecs=60
|
|
priority=5
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:celery-beat]
|
|
command = celery --app config beat -s ./db/celerybeat-schedule --loglevel INFO
|
|
user=abc
|
|
stopasgroup = true
|
|
priority = 10
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|