mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-25 19:14:03 +03:00
Fix Jinja2 break line control on Procfile
This commit is contained in:
parent
c5671cf242
commit
7e49a1c9c7
|
@ -1,10 +1,10 @@
|
|||
release: python manage.py migrate
|
||||
{%- if cookiecutter.use_async == "y" -%}
|
||||
{% if cookiecutter.use_async == "y" -%}
|
||||
web: gunicorn config.asgi:application -k uvicorn.workers.UvicornWorker
|
||||
{%- else %}
|
||||
web: gunicorn config.wsgi:application
|
||||
{%- endif %}
|
||||
{%- if cookiecutter.use_celery == "y" -%}
|
||||
{% if cookiecutter.use_celery == "y" -%}
|
||||
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