agenda_culturel/deployment/scripts/celery/start-worker.sh
2023-10-18 19:53:26 +02:00

7 lines
208 B
Bash

#!/bin/bash
set -o errexit
set -o nounset
python3 /usr/local/lib/python3.11/site-packages/watchdog/watchmedo.py auto-restart -d agenda_culturel -p '*.py' --recursive -- celery -A "$APP_NAME" worker -l info