From b388c2ce1ed81208d6586a115032684f28257154 Mon Sep 17 00:00:00 2001 From: Alexei Mikhailov Date: Thu, 9 Apr 2015 18:54:08 +0300 Subject: [PATCH] Sourcing app-specific ENV during check-deploy, which gone missing in 052e3e88c8865ce04347b3dc72faa2ea2a1f94d8. --- plugins/checks/check-deploy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/checks/check-deploy b/plugins/checks/check-deploy index 861d90de9..5dc36c57c 100755 --- a/plugins/checks/check-deploy +++ b/plugins/checks/check-deploy @@ -46,8 +46,9 @@ if [[ -z "$DOKKU_APP_CONTAINER_ID" ]] && [[ -f "$DOKKU_ROOT/$APP/CONTAINER" ]]; fi -# source in app env to get DOKKU_CHECKS_WAIT and any other necessary vars +# source global and in-app envs to get DOKKU_CHECKS_WAIT and any other necessary vars [[ -f "$DOKKU_ROOT/ENV" ]] && source $DOKKU_ROOT/ENV +[[ -f "$DOKKU_ROOT/$APP/ENV" ]] && source $DOKKU_ROOT/$APP/ENV # Wait this many seconds (default 5) for server to start before running checks. WAIT="${DOKKU_CHECKS_WAIT:-5}"