blob: 3a0780214a5e9fb500843163a13f3c79b589fc41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
all: boostrap run
boostrap:
curl http://thibaut.horel.org/facebook/facebook.tar.gz > facebook.tar.gz
tar -xzf facebook.tar.gz
run:
celery -A tasks --concurrency=2 worker --detach -l info
stop:
rm -f celeryd.pid
pgrep -f "celery worker" | xargs kill -9
restart:
pgrep -f "celery worker" | xargs kill -HUP
|