Sha256: baaf3e547281cda01dc9a9df58c04ecf0fd65d0d87635fb0358f8de2a4baebe3

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

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

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

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

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

exec "$@"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
consul_bridge-0.1.5 scripts/docker-entrypoint.sh