Sha256: fd4f7f0fc67b8c81631b11155137a81ac315876fa0c7dc08f599841fc4f35087

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 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
  bundle exec whenever --update-crontab
  crond
  exec bundle exec pumactl start "$@"
fi

exec "$@"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
proxes-0.8.5 startup.sh