Sha256: b115fbb95855ede1286ee9679ce8db15f97468622b807db7b92b3fb82cefd8d6

Contents?: true

Size: 337 Bytes

Versions: 1

Compression:

Stored size: 337 Bytes

Contents

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

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

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

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

exec "$@"

Version data entries

1 entries across 1 versions & 1 rubygems

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