python - getting an error Unknown command: 'celery' with celery and supervisor -
i trying setup celery supervisord on aws instance. have project running on virtual environment , tested celery "python2.7 manage.py celery worker". getting error unknown command: 'celery' while running supervisor.
my supervisor configuration below
1)
[program:celery-eatio] environment = pythonpath="/home/ubuntu/eatio_env/lib/python2.7:/home/ubuntu/eatio-server:/home/ubuntu/eatio_env/lib/python2.7/site-packages:$pythonpath",django_settings_module="eatio_web.settings" command=/home/ubuntu/eatio-server/manage.py celery worker user=ubuntu numprocs=1 stdout_logfile=/home/ubuntu/celery_error.log stderr_logfile=/home/ubuntu/celery_out.log autostart=true autorestart=true
2)
[program:celery-eatio] command=/home/ubuntu/eatio_env/bin/python2.7 /home/ubuntu/eatio-server/manage.py celery worker --loglevel=info -c 1 -e -b -q celery_periodic -n periodic_worker directory=/home/ubuntu/eatio-server user=ubuntu autostart=true autorestart=true stdout_logfile=/home/ubuntu/celery_error.log stderr_logfile=/home/ubuntu/celery_out.log
Comments
Post a Comment