File: celeryd.celeryd.default

package info (click to toggle)
celery 5.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 8,580 kB
  • sloc: python: 66,917; sh: 795; makefile: 378
file content (34 lines) | stat: -rw-r--r-- 1,045 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Edit the options in this file to match your projects environment.
# See https://docs.celeryq.dev/en/stable/userguide/daemonizing.html for the complete
# documentation on the options.

# WARNING: This script is only designed to run the worker(s) for a single
# project. If you need to start workers for multiple projects you should
# consider using supervisor.
# Examples can be found in /usr/share/doc/python-celery/supervisord/

# Change this to true when done to enable the init.d script.
# Default: false
ENABLED="false"

# Name of nodes to start
# here we have a single node
CELERYD_NODES="w1"
# or we could have three nodes:
#CELERYD_NODES="w1 w2 w3"

# Where to chdir at start.
CELERYD_CHDIR="/opt/Myproject/"

# Extra arguments to celeryd
CELERYD_OPTS="--time-limit=300 --concurrency=8"

# Name of the celery config module.
CELERY_CONFIG_MODULE="celeryconfig"

# %n will be replaced with the nodename.
CELERYD_LOG_FILE="/var/log/celery/%n.log"

# Workers should run as an unprivileged user.
CELERYD_USER="celery"
CELERYD_GROUP="celery"