Sha256: cba3bd42ad5130866e9adff636551d171497496b769c47c47481d3ad2a1face2

Contents?: true

Size: 340 Bytes

Versions: 4

Compression:

Stored size: 340 Bytes

Contents

#!/bin/sh
set -e

echo "DATABASE_URL: $DATABASE_URL"
echo "ELASTICSEARCH_URL: $ELASTICSEARCH_URL"
echo "APP_ROOT: $APP_ROOT"

if [ "$1" = 'web-proxes' ]
then
  cd /usr/src/app
  bundle exec rake ditty:generate_tokens
  bundle exec rake ditty:migrate
  bundle exec rake ditty:seed
  crond
  exec bundle exec pumactl start "$@"
fi

exec "$@"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
proxes-0.9.2 startup.sh
proxes-0.9.1 startup.sh
proxes-0.9.0 startup.sh
proxes-0.8.6 startup.sh