summaryrefslogtreecommitdiff
path: root/dev-python/celery/files/celery.confd-r2
blob: d5ba2f7c9951eaf2ec10c5674b0df46a2c890b76 (plain) (blame)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# /etc/conf.d/celery

##############################################################################
# GLOBAL CONFIGURATION

# User and group
#CELERY_USER="celery"
#CELERY_GROUP="celery"

# This is generaly a good idea to set the environment correctly
# because a lot of python package try to use HOME on init
#export HOME="/var/lib/myproject"

# Full path to the python project directory.
#CELERY_PROJDIR="/var/lib/myproject"

##############################################################################
# CELERYD

# Start the Celery worker daemon
#CELERYD_ENABLED="yes"

# celeryd notes
#CELERYD_NODES="celery"

# celeryd options
# Example: set a 5 minute hard time limit for tasks, disable queue process prefetching and specify an app module from CELERY_PROJDIR
#CELERYD_OPTS="--time-limit=300 -Ofair -A celeryapp"

# Location and level of the celeryd log file
#CELERYD_LOG_FILE=/var/log/celery/celeryd@%n.log
#CELERYD_LOG_LEVEL="INFO"

# Location of the celeryd pid file
#CELERYD_PID_FILE=/run/celery/celeryd@%n.pid

##############################################################################
# CELERYBEAT

# Start the Celery task scheduler daemon
#CELERYBEAT_ENABLED="yes"

# celerybeat options
#CELERYBEAT_OPTS=""

# Location and level of the celerybeat log file
#CELERYBEAT_LOG_FILE=/var/log/celery/celerybeat.log
#CELERYBEAT_LOG_LEVEL="INFO"

# Location of the celerybeat pid file
#CELERYBEAT_PID_FILE=/run/celery/celerybeat.pid