mirror of
https://github.com/ansible/awx.git
synced 2026-03-29 06:45:09 -02:30
properly invoke the byte-compiled isolated job runner in production
see: #5903
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
AWX_LIB=`/var/lib/awx/venv/tower/bin/python -c 'import os, awx; print os.path.dirname(awx.__file__)'`
|
AWX_LIB=`/var/lib/awx/venv/tower/bin/python -c 'import os, awx; print os.path.dirname(awx.__file__)'`
|
||||||
. /var/lib/awx/venv/tower/bin/activate
|
. /var/lib/awx/venv/tower/bin/activate
|
||||||
exec env TOWER_LIB_DIRECTORY=$AWX_LIB/lib $AWX_LIB/main/isolated/run.py "$@"
|
exec env TOWER_LIB_DIRECTORY=$AWX_LIB/lib /var/lib/awx/venv/tower/bin/python $AWX_LIB/main/isolated/run.pyc "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user