Sha256: f84d5e1a7dc618f35f9a90cad0f53faf7073df1d1730c1e480ecf23850aa16ab

Contents?: true

Size: 366 Bytes

Versions: 2

Compression:

Stored size: 366 Bytes

Contents

#!/bin/sh
set -e

echo "DATABASE_URL: $DATABASE_URL"
echo "ELASTICSEARCH_URL: $ELASTICSEARCH_URL"
echo "APP_ROOT: $APP_ROOT"
bundle show ditty
bundle show proxes

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

exec "$@"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
proxes-0.9.7 startup.sh
proxes-0.9.4 startup.sh