forked from celery/celery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |