aboutsummaryrefslogtreecommitdiffstats
path: root/compose/local/django/celery/worker/start
diff options
context:
space:
mode:
Diffstat (limited to 'compose/local/django/celery/worker/start')
-rw-r--r--compose/local/django/celery/worker/start7
1 files changed, 7 insertions, 0 deletions
diff --git a/compose/local/django/celery/worker/start b/compose/local/django/celery/worker/start
new file mode 100644
index 0000000..183a801
--- /dev/null
+++ b/compose/local/django/celery/worker/start
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -o errexit
+set -o nounset
+
+
+exec watchfiles --filter python celery.__main__.main --args '-A config.celery_app worker -l INFO'