https://github.com/TylerBackman/chemminetools
Raw File
Tip revision: 1896c2dd7362f44193528aef028390543a125921 authored by Austin Leong on 05 April 2021, 18:10:10 UTC
Drug Target Search Graph development preview (expect to revert)
Tip revision: 1896c2d
celery_config
CELERYD_NODES="w1"

# Extra arguments to celeryd
CELERYD_OPTS="--time-limit=172800 --concurrency=8"

# %n will be replaced with the nodename.
CELERYD_LOG_FILE="/var/log/celery/%n%I.log"
CELERYD_PID_FILE="/run/celery/%n.pid"

CELERYD_LOG_LEVEL="INFO"
#CELERYD_LOG_LEVEL="DEBUG"

# Name of the projects settings module.
DJANGO_SETTINGS_MODULE="chemminetools.settings"

CELERY_BIN="/srv/venvs/chemminetools/bin/celery"
CELERY_APP="chemminetools"

#The default path when celery starts does not include /usr/local/bin/, 
#which then causes R scripts using Rscript to fail when celery runs them.
#So we set the path explicitly here.

PATH=/srv/venvs/chemminetools/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
back to top