From 3fd0b846132fd25677fe14f92f946a71db7518c8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 19 Mar 2019 13:33:59 +0100 Subject: Celery install scripts --- install/celeryd.default.template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 install/celeryd.default.template (limited to 'install/celeryd.default.template') diff --git a/install/celeryd.default.template b/install/celeryd.default.template new file mode 100644 index 000000000..4220b6c35 --- /dev/null +++ b/install/celeryd.default.template @@ -0,0 +1,17 @@ +# The names of the workers. This example create one workers +CELERYD_NODES="#APP_NAME#w1" +#CELERYD_NODES="#APP_NAME#w1 #APP_NAME#w2" # 2 workers + +# The name of the Celery App, should be the same as the python file +# where the Celery tasks are defined +CELERY_APP="#APP_NAME#" + +# Log and PID directories +CELERYD_LOG_FILE="/var/log/celery/#APP_NAME#%n%I.log" +CELERYD_PID_FILE="/var/run/celery/#APP_NAME#%n.pid" + +# Log level +CELERYD_LOG_LEVEL=INFO + +# Path to celery binary, that is in your virtual environment +CELERY_BIN=/usr/local/bin/celery \ No newline at end of file -- cgit v1.2.3