cookiecutter-django/{{cookiecutter.project_slug}}/compose/local/django/celery/beat/start
Chao Yang Wu 51f4374a8a
Fix graceful shutdown of local dev containers and use watchfiles for beat + flower (#3925)
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2022-11-23 14:51:20 +00:00

9 lines
150 B
Bash

#!/bin/bash
set -o errexit
set -o nounset
rm -f './celerybeat.pid'
exec watchfiles celery.__main__.main --args '-A config.celery_app beat -l INFO'