mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 01:26:57 +03:00
Define REMAP_SIGTERM=SIGQUIT on Profile of Celery
on Heroku
This commit is contained in:
parent
91f93fe371
commit
0aca0a8782
|
@ -5,6 +5,6 @@ web: gunicorn config.asgi:application -k uvicorn.workers.UvicornWorker
|
|||
web: gunicorn config.wsgi:application
|
||||
{%- endif %}
|
||||
{%- if cookiecutter.use_celery == "y" -%}
|
||||
worker: celery worker --app=config.celery_app --loglevel=info
|
||||
beat: celery beat --app=config.celery_app --loglevel=info
|
||||
worker: REMAP_SIGTERM=SIGQUIT celery worker --app=config.celery_app --loglevel=info
|
||||
beat: REMAP_SIGTERM=SIGQUIT celery beat --app=config.celery_app --loglevel=info
|
||||
{%- endif %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user