django - sudo /etc/init.d/celeryd start generates a "Unknown command: 'celeryd_multi'" -
I am setting up celery to run using variables from your virtual environment, Demunik. But when I run I have set up the following: CELERYD_CHDIR = "/ home / MyUser / projects / MyProject "ENV_PYTHON =" / home / MyUser / .virtualenvs / MyProject / bin / python "cELERYD_MULTI =" $ ENV_PYTHON $ CELERYD_CHDIR / manage.py celeryd_multi " when I run Any thoughts? I'll gladly post any other code to you :) Thank you! > the operating proper environment and it pulls packages from /home/myuser/.virtualenvs/myproject /... when you start sudo /etc/init.d/celeryd as you root Cereal which is probably not active in virtualenv /root/.virtualenvs/, then such a thing is also present and thus it looks for Python package in / usr. / Lib / ... where your default python is and consequently your celery is not installed Your options are either: Consider: $ sudo /etc/init.d/celeryd , I start the unknown order. Use 'celeryd_multi' type 'manage.py help'
from $ /home/myuser/.virtualenvs/myproject/bin/python / home / MyUser / projects /myproject/manage.py celeryd_multi command line, it works fine.
su - myzer -ak / bin / sh / home / mysuser / Virtual envoys / my project / bin / serial / / code> to open it as an init.d from myuser.
Comments
Post a Comment