You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
278 B

  1. #!/usr/bin/env bash
  2. set -o errexit
  3. cd "/src/backend"
  4. (
  5. echo "Waiting for database"
  6. python manage.py wait_for_db
  7. echo "Starting celery"
  8. "watchmedo" auto-restart --directory="." --pattern="*.py" --recursive -- "celery" --app=config worker --loglevel=info --pool=solo
  9. )