mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-29 04:54:02 +03:00
Fix ungraceful Celery workers shutdown in container (#3405)
This commit is contained in:
parent
69b2c2ad61
commit
dbaf09a5e1
|
@ -5,4 +5,4 @@ set -o pipefail
|
|||
set -o nounset
|
||||
|
||||
|
||||
celery -A config.celery_app beat -l INFO
|
||||
exec celery -A config.celery_app beat -l INFO
|
||||
|
|
|
@ -4,7 +4,7 @@ set -o errexit
|
|||
set -o nounset
|
||||
|
||||
|
||||
celery \
|
||||
exec celery \
|
||||
-A config.celery_app \
|
||||
-b "${CELERY_BROKER_URL}" \
|
||||
flower \
|
||||
|
|
|
@ -5,4 +5,4 @@ set -o pipefail
|
|||
set -o nounset
|
||||
|
||||
|
||||
celery -A config.celery_app worker -l INFO
|
||||
exec celery -A config.celery_app worker -l INFO
|
||||
|
|
Loading…
Reference in New Issue
Block a user