Skip to content

Commit

Permalink
updated centos init config file
Browse files Browse the repository at this point in the history
  • Loading branch information
mpavlov committed Mar 7, 2013
1 parent 07dd763 commit c5d5258
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions extra/centos/celeryd.sysconfig
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
# Passed into celeryd multi
#CELERYD="-m celery.bin.celeryd_detach"
# In CentOS, contents should be placed in the file /etc/sysconfig/celeryd

# Path to the celerd multi
#CELERYD_MULTI="/usr/bin/celeryd-multi"
# Name of nodes to start (space-separated)
CELERYD_NODES="my_application-node_1"

# Sets the verbosity of the celeryd logging.
#CELERYD_LOG_LEVEL="INFO"
# Where to chdir at start. This could be the root of a virtualenv.
CELERYD_CHDIR="/path/to/my_application"

# Define the loader that celeryd should use for loading in configs.
#CELERY_LOADER=""
# How to call celeryd-multi
CELERYD_MULTI="$CELERYD_CHDIR/bin/celeryd-multi"

# User and group information for directories
#CELERYD_USER="celery"
#CELERYD_GROUP="celery"
# Extra arguments
CELERYD_OPTS="--app=my_application.path.to.worker --time-limit=300 --concurrency=8 --loglevel=DEBUG"

# Default arguments to be passed into celeryd.
#CELERYD_OPTS=""
# %n will be replaced with the nodename
CELERY_CREATE_DIRS=1
CELERYD_LOG_FILE="/path/to/my_application/log/%n.log"
CELERYD_PID_FILE="/var/run/celery/%n.pid"

# Change to this directory first before launching celeryd.
#CELERYD_CHDIR=""
# Workers should run as an unprivileged user
CELERYD_USER=celery
CELERYD_GROUP=celery

0 comments on commit c5d5258

Please sign in to comment.