Browse Source

modifying bin scripts

Deepak Sharma 3 years ago
parent
commit
e6b0da132b
3 changed files with 3 additions and 3 deletions
  1. 1 1
      bin/run-beat.sh
  2. 1 1
      bin/run-celery-with-beat.sh
  3. 1 1
      bin/run-celery.sh

+ 1 - 1
bin/run-beat.sh

@@ -1,4 +1,4 @@
 #!/usr/bin/env bash
 set -e
 
-exec celery -A glitchtip beat -l info --pidfile=
+exec celery -A glitchtip beat -s /tmp/celerybeat-schedule -l info --pidfile=

+ 1 - 1
bin/run-celery-with-beat.sh

@@ -5,4 +5,4 @@ CONCURRENCY="${CONCURRENCY:-2}"
 
 echo "Start celery with CONCURRENCY: $CONCURRENCY"
 
-exec celery -A glitchtip worker -l info -B --concurrency=$CONCURRENCY
+exec celery -A glitchtip worker -l info -B -s /tmp/celerybeat-schedule --concurrency=$CONCURRENCY

+ 1 - 1
bin/run-celery.sh

@@ -5,4 +5,4 @@ CONCURRENCY="${CONCURRENCY:-2}"
 
 echo "Start celery with CONCURRENCY: $CONCURRENCY"
 
-exec celery -A glitchtip worker -l info --concurrency=$CONCURRENCY
+exec celery -A glitchtip worker -l info -s /tmp/celerybeat-schedule --concurrency=$CONCURRENCY