agenda_culturel/deployment/scripts/celery/start-worker.sh

7 lines
236 B
Bash
Raw Permalink Normal View History

2023-05-10 09:02:59 +02:00
#!/bin/bash
set -o errexit
set -o nounset
2024-02-17 13:03:14 +01:00
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 --logfile=celery_worker.log