agenda_culturel/deployment/scripts/celery/start-worker.sh
2023-11-15 12:01:35 +01:00

7 lines
208 B
Bash
Executable File

#!/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