Skip to content

Commit e1ae955

Browse files
committed
Purge any old tasks
1 parent 2e51046 commit e1ae955

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/start.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ touch /src/logs/gunicorn.log
1313
touch /src/logs/access.log
1414
tail -n 0 -f /src/logs/*.log &
1515

16+
#purge all configured task queues
17+
celery -A sensorsafrica purge
1618
celery -A sensorsafrica beat -l info &> /src/logs/celery.log &
1719
celery -A sensorsafrica worker --hostname=$DOKKU_APP_NAME -l info &> /src/logs/celery.log &
1820
celery -A sensorsafrica flower --basic_auth=$SENSORSAFRICA_FLOWER_ADMIN_USERNAME:$SENSORSAFRICA_FLOWER_ADMIN_PASSWORD &> /src/logs/celery.log &

0 commit comments

Comments
 (0)