70 lines
1.8 KiB
Text
70 lines
1.8 KiB
Text
# /etc/conf.d/celery
|
|
|
|
##############################################################################
|
|
# GLOBAL CONFIGURATION
|
|
|
|
# User and group
|
|
#CELERY_USER="celery"
|
|
#CELERY_GROUP="celery"
|
|
|
|
# Is this for a django project ?
|
|
# If 'yes' it will automatically setup CELERYD, CELERYCTL
|
|
# CELERYD_MULTI, CELERYBEAT, CELERYEV and CELERYEV_CAM for a
|
|
# django project, but you can still override them here.
|
|
#CELERY_DJANGO="yes"
|
|
|
|
# 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
|
|
|
|
#CELERYD_ENABLED="yes"
|
|
|
|
# celeryd notes
|
|
#CELERYD_NODES="celery"
|
|
|
|
# celeryd options
|
|
# Example: 5 minute hard time limit for tasks
|
|
#CELERYD_OPTS="--time-limit=300"
|
|
|
|
# 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=/var/run/celery/celeryd@%n.pid
|
|
|
|
##############################################################################
|
|
# CELERYBEAT
|
|
|
|
#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=/var/run/celery/celerybeat.pid
|
|
|
|
##############################################################################
|
|
# CELERYEV
|
|
|
|
#CELERYEV_ENABLED="yes"
|
|
|
|
# celeryev options
|
|
#CELERYEV_OPTS=""
|
|
|
|
# Location and level of the celeryev log file
|
|
#CELERYEV_LOG_FILE=/var/log/celery/celeryev.log
|
|
#CELERYEV_LOG_LEVEL="INFO"
|
|
|
|
# Location of the celeryev pid file
|
|
#CELERYEV_PID_FILE=/var/run/celery/celeryev.pid
|