summaryrefslogtreecommitdiff
path: root/install/celeryd.default.template
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-03-19 13:33:59 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-06-17 13:21:27 +0200
commit3fd0b846132fd25677fe14f92f946a71db7518c8 (patch)
treeb3e5ae6c67cfcb4eb979275fe4b9e1aefe36fb0a /install/celeryd.default.template
parentc2284c2c8f8c7b82ff19bbeaa19c90b0503d7482 (diff)
downloadIshtar-3fd0b846132fd25677fe14f92f946a71db7518c8.tar.bz2
Ishtar-3fd0b846132fd25677fe14f92f946a71db7518c8.zip
Celery install scripts
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