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
commit3b7b3710a4534a40c780bf0a07c8a5d08961e944 (patch)
treeb3e5ae6c67cfcb4eb979275fe4b9e1aefe36fb0a /install/celeryd.default.template
parent281cdc65111a42ab5f61055e1e1b637a20502814 (diff)
downloadIshtar-3b7b3710a4534a40c780bf0a07c8a5d08961e944.tar.bz2
Ishtar-3b7b3710a4534a40c780bf0a07c8a5d08961e944.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