R
R
Rrooom2014-09-22 12:07:55
Django
Rrooom, 2014-09-22 12:07:55

How to run celery on a production server?

I read - docs.celeryproject.org/en/latest/tutorials/daemoni... and nothing is clear.
How to run it? Heaps of infected configs that are not clear where to shove. More precisely, it is not clear how to combine the configurations for django and celerybeat.
Will you explain?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Bukin, 2014-09-22
@Rrooom

Better use supervisor to daemonize the celery.
Here is an example of chewing michal.karzynski.pl/blog/2014/05/18/setting-up-an-...

M
m0ody, 2014-09-27
@m0ody

This is:
save in:
Give it rights:
What is given in "Example configuration" put in /etc/default/celeryd.
Run like this:

/etc/init.d/celeryd start
# или так
service celeryd start

Further, all settings for the celery configuration are made in /etc/default/celeryd.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question