Sha256: 2c69c0ae949a46a59dfa0726fa0eec2e7158138017be889610e13625a6b7793a

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

#!/bin/dumb-init /bin/sh
set -e

if [ -n "$USE_BUNDLE_EXEC" ]; then
  BINARY="bundle exec ecs_console"
else
  BINARY=ecs_console
fi

if ${BINARY} help "$1" 2>&1 | grep -q "ecs_console $1"; then
  set -- gosu ecs_console ${BINARY} "$@"

  if [ -n "$FOG_LOCAL" ]; then
    chown -R ecs_console:ecs_console /fog
  fi
fi

exec "$@"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecs_console-0.1.0 scripts/docker-entrypoint.sh