1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-27 17:55:10 +03:00
awx/tools/scripts/tower-python
2016-10-24 14:51:53 -04:00

10 lines
226 B
Bash
Executable File

#!/bin/bash
# Enable Tower virtualenv
if [ -f /var/lib/awx/venv/tower/bin/activate ]; then
. /var/lib/awx/venv/tower/bin/activate
fi
# Run the requested Python command, using the interpreter from the path
exec python "$@"