You've already forked hotpocket
This commit is contained in:
10
services/base/ops/bin/wait-for-virtualenv.sh
Executable file
10
services/base/ops/bin/wait-for-virtualenv.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -z "${VIRTUAL_ENV}" ];then
|
||||
echo "Waiting for virtual env... "
|
||||
/srv/bin/check-virtualenv.sh >/dev/null 2>&1
|
||||
while [ $? -ne 0 ];do
|
||||
/srv/bin/check-virtualenv.sh >/dev/null 2>&1
|
||||
done
|
||||
echo "virtual env is ready"
|
||||
fi
|
||||
Reference in New Issue
Block a user