From ac9bc166a035b092fd6640b26899817cc3c7f649 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Thu, 29 Jun 2017 11:11:28 -0400 Subject: [PATCH] properly invoke the byte-compiled isolated job runner in production see: #5903 --- tools/scripts/tower-expect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/scripts/tower-expect b/tools/scripts/tower-expect index b4a04e4161..c682aa7e9f 100755 --- a/tools/scripts/tower-expect +++ b/tools/scripts/tower-expect @@ -1,4 +1,4 @@ #!/bin/bash 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 -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 "$@"