mirror of
https://github.com/wassname/openshift-celery-cartridge.git
synced 2026-09-09 11:27:59 +08:00
Updating the compiled version of celery for RHEL
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_CELERY_DIR/conf.d:$OPENSHIFT_REPO_DIR:$PYTHONPATH
|
||||
export PYTHONPATH=$OPENSHIFT_PYTHON_DIR:$OPENSHIFT_CELERY_DIR/conf.d:$OPENSHIFT_REPO_DIR:$PYTHONPATH
|
||||
usr/celeryd --pidfile=etc/celeryd.pid
|
||||
}
|
||||
|
||||
|
||||
+8
-4
@@ -1,9 +1,13 @@
|
||||
#!/home/tres/Code/Scribble/screnv/bin/python
|
||||
#!/usr/bin/env python2.7
|
||||
|
||||
import os; activate_this=os.path.join(os.path.dirname('%svirtenv/bin/' % os.getenv('OPENSHIFT_PYTHON_DIR')), 'activate_this.py'); execfile(activate_this, dict(__file__=activate_this)); del os, activate_this
|
||||
|
||||
# EASY-INSTALL-ENTRY-SCRIPT: 'celery==3.0.21','console_scripts','celery'
|
||||
__requires__ = 'celery==3.0.21'
|
||||
import sys
|
||||
from pkg_resources import load_entry_point
|
||||
|
||||
sys.exit(
|
||||
load_entry_point('celery==3.0.21', 'console_scripts', 'celery')()
|
||||
)
|
||||
if __name__ == '__main__':
|
||||
sys.exit(
|
||||
load_entry_point('celery==3.0.21', 'console_scripts', 'celery')()
|
||||
)
|
||||
|
||||
+8
-4
@@ -1,9 +1,13 @@
|
||||
#!/home/tres/Code/Scribble/screnv/bin/python
|
||||
#!/usr/bin/env python2.7
|
||||
|
||||
import os; activate_this=os.path.join(os.path.dirname('%svirtenv/bin/' % os.getenv('OPENSHIFT_PYTHON_DIR')), 'activate_this.py'); execfile(activate_this, dict(__file__=activate_this)); del os, activate_this
|
||||
|
||||
# EASY-INSTALL-ENTRY-SCRIPT: 'celery==3.0.21','console_scripts','celeryd'
|
||||
__requires__ = 'celery==3.0.21'
|
||||
import sys
|
||||
from pkg_resources import load_entry_point
|
||||
|
||||
sys.exit(
|
||||
load_entry_point('celery==3.0.21', 'console_scripts', 'celeryd')()
|
||||
)
|
||||
if __name__ == '__main__':
|
||||
sys.exit(
|
||||
load_entry_point('celery==3.0.21', 'console_scripts', 'celeryd')()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user