Revision e7fc07ea install.txt
b/install.txt | ||
---|---|---|
356 | 356 |
|
357 | 357 |
vim /etc/default/celeryd |
358 | 358 |
|
359 |
Again if the directory conventions have been followed the file should
|
|
360 |
be:
|
|
359 |
Again if the directory conventions have been followed the file is (pay
|
|
360 |
attention to the CELERYD_USER, CELERYD_GROUP and change accordingly)
|
|
361 | 361 |
|
362 | 362 |
# Name of nodes to start, here we have a single node |
363 | 363 |
CELERYD_NODES="w1" |
... | ... | |
365 | 365 |
#CELERYD_NODES="w1 w2 w3" |
366 | 366 |
|
367 | 367 |
# Where to chdir at start. |
368 |
CELERYD_CHDIR="/srv/flowspy/"
|
|
368 |
CELERYD_CHDIR="/srv/flowspy" |
|
369 | 369 |
# How to call "manage.py celeryd_multi" |
370 | 370 |
CELERYD_MULTI="$CELERYD_CHDIR/manage.py celeryd_multi" |
371 | 371 |
|
... | ... | |
383 | 383 |
CELERYD_PID_FILE="$CELERYD_CHDIR/celery_var/run/celery/%n.pid" |
384 | 384 |
|
385 | 385 |
# Workers should run as an unprivileged user. |
386 |
CELERYD_USER="root"
|
|
387 |
CELERYD_GROUP="root"
|
|
386 |
CELERYD_USER="user"
|
|
387 |
CELERYD_GROUP="user"
|
|
388 | 388 |
|
389 | 389 |
# Name of the projects settings module. |
390 | 390 |
export DJANGO_SETTINGS_MODULE="settings" |
Also available in: Unified diff