diff --git a/bin/control b/bin/control index 0a797cd..ac5fe7d 100755 --- a/bin/control +++ b/bin/control @@ -5,7 +5,7 @@ PATH=/bin/:/usr/bin:$PATH #source $OPENSHIFT_CARTRIDGE_SDK_BASH function start { - export PYTHONPATH=$OPENSHIFT_PYTHON_DIR:$OPENSHIFT_CELERY_DIR/conf.d:$OPENSHIFT_REPO_DIR:$PYTHONPATH + export PYTHONPATH=$OPENSHIFT_REPO_DIR/.openshift:$OPENSHIFT_CELERY_DIR/conf.d:$OPENSHIFT_REPO_DIR:$PYTHONPATH usr/celeryd --pidfile=etc/celeryd.pid } diff --git a/conf.d/celeryconfig.py.erb b/conf.d/celeryconfig.py.erb index 0259f32..369fa89 100644 --- a/conf.d/celeryconfig.py.erb +++ b/conf.d/celeryconfig.py.erb @@ -1,3 +1,4 @@ +print 'Configuring celeryd with default cartridge config file' <% broker_type = ENV.fetch('OPENSHIFT_CELERY_BROKER_TRANS', 'mongodb') if broker_type == "mongodb" %>