Celeryd is not starting when Ubuntu server restart

I’m using Celery to do Async tasks for my Django app, and I run Celery as daemon using celeryd.

When I run /etc/init.d/celeryd start everything works perfect, but if the server restarted celeryd won’t start as well, I tried the solution in this question, and this one also.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

The issue that I need to set DJANGO_SETTINGS_MODULE in /etc/environment