Files
Yamtrack/supervisord.conf
Xila Cai 49e2d26936 simkl import (#245)
* add extra logging for debug

* add default simkl keys

* better log levels

* better mal api rate limit handler

* add debug logging for celery

* ignore tv without episode data in simkl import

* add api 404 handler in simkl import

* standardize import result message

* allow personal keys for simkl import

* update readme

* add simkl import tests

* add info on where to get SIMKL keys
2024-10-15 21:03:45 +02:00

35 lines
989 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=bash -c 'if [ "$DEBUG" = "True" ]; then LOGLEVEL=DEBUG; else LOGLEVEL=INFO; fi; celery --app config worker --loglevel $LOGLEVEL --without-mingle --without-gossip'
environment=DEBUG=%(ENV_DEBUG)s
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=bash -c 'if [ "$DEBUG" = "True" ]; then LOGLEVEL=DEBUG; else LOGLEVEL=INFO; fi; celery --app config beat -s ./db/celerybeat-schedule --loglevel $LOGLEVEL'
environment=DEBUG=%(ENV_DEBUG)s
user=abc
stopasgroup=true
priority=10
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0