summaryrefslogtreecommitdiff
path: root/install/celeryd.default.template
diff options
context:
space:
mode:
Diffstat (limited to 'install/celeryd.default.template')
-rw-r--r--install/celeryd.default.template17
1 files changed, 17 insertions, 0 deletions
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