asdasd
This commit is contained in:
@@ -4,13 +4,13 @@ set -eu
|
|||||||
APP_ENV="${APP_ENV:-staging}"
|
APP_ENV="${APP_ENV:-staging}"
|
||||||
|
|
||||||
if [ "$APP_ENV" = "live" ]; then
|
if [ "$APP_ENV" = "live" ]; then
|
||||||
SCRIPT="/app/live/tools/pi_control/worker.php"
|
SCRIPT="/app/live/tools/pi_control/pi_worker.php"
|
||||||
else
|
else
|
||||||
SCRIPT="/app/staging/tools/pi_control/worker.php"
|
SCRIPT="/app/staging/tools/pi_control/pi_worker.php"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f "$SCRIPT" ]; then
|
if [ ! -f "$SCRIPT" ]; then
|
||||||
echo "worker.php not found at $SCRIPT"
|
echo "pi_worker.php not found at $SCRIPT"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user