[Django]-Django + celery + uwsgi without supervisor

1👍

Replace “smart-attach-daemon” on “attach-daemon”

👤kjefes

2👍

You can use either attach-daemon or smart-attach-daemon. But if you are using smart-attach-daemon then you should also start celery with pid file and set path to it in uwsgi:

smart-attach-daemon = ${path}/${name_project}/var/celery-worker.pid ${path}/${name_project}/.env/bin/python ${path}/manage.py celery -A test worker --pidfile=${path}/${name_project}/var/celery-worker.pid  -l info -B

Leave a comment