Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm testing Celery with RabbitMQ on Ubuntu11.04 on a python project that is not a django project. I have my celeryconfig.py and my test.py file in /mypath/myproject/. My /etc/default/celeryd looks like this:

# Where to chdir at start.
CELERYD_CHDIR= "/mypath/myproject/"

# Extra arguments to celeryd
CELERYD_OPTS=”–time-limit=300”

# Name of the celery config module.#
CELERY_CONFIG_MODULE=”celeryconfig”

When I run sudo /etc/init.d/celeryd start I get this error message:

/etc/default/celeryd: line 2: /mypath/myproject/: Is a directory

Any ideas? I followed these instructions.

share|improve this question
add comment

1 Answer

Its the extra space after the equals sign. You want:

CELERYD_CHDIR="/mypath/myproject/"
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.