convenience functions for app container state

This commit is contained in:
Michael Hobbs
2015-07-13 08:24:46 -07:00
parent 633c595311
commit c7cb014580
7 changed files with 60 additions and 33 deletions

View File

@@ -49,7 +49,7 @@ case "$1" in
shopt -u nullglob
fi
DOKKU_APP_CIDS=($(get_container_ids $APP))
DOKKU_APP_CIDS=($(get_app_container_ids $APP))
docker cp "${DOKKU_APP_CID[0]}:/app/nginx.conf.template" "$APP_NGINX_TEMPLATE" 2> /dev/null || true
[[ -f "$DOKKU_ROOT/ENV" ]] && source $DOKKU_ROOT/ENV