mirror of
https://github.com/wassname/openshift-celery-cartridge.git
synced 2026-06-27 16:10:05 +08:00
Adding to python path the client override config
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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" %>
|
||||
|
||||
Reference in New Issue
Block a user