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