diff options
author | 2015-08-20 14:22:52 +0200 | |
---|---|---|
committer | 2015-08-20 14:23:00 +0200 | |
commit | 6e8d3a961f248ca9d6fe2e50c4133e48ba5908c6 (patch) | |
tree | bab1f847b5fb73f91b626353bd556b6f88d756c4 /dev-python/celery/files/celery.confd-r2 | |
parent | app-shells/zsh: Set correct subslot dependency for ncurses (diff) | |
download | gentoo-6e8d3a961f248ca9d6fe2e50c4133e48ba5908c6.tar.gz gentoo-6e8d3a961f248ca9d6fe2e50c4133e48ba5908c6.tar.bz2 gentoo-6e8d3a961f248ca9d6fe2e50c4133e48ba5908c6.zip |
dev-python/celery: Fix bracket usage in init script
* use /run instead of /var/run
* Fix dependencies for py3
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/celery/files/celery.confd-r2')
-rw-r--r-- | dev-python/celery/files/celery.confd-r2 | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/celery/files/celery.confd-r2 b/dev-python/celery/files/celery.confd-r2 new file mode 100644 index 00000000000..d5ba2f7c995 --- /dev/null +++ b/dev-python/celery/files/celery.confd-r2 @@ -0,0 +1,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 |