Sha256: b8114550c5cd55429583fe26178dcd7a80bbd2bad7c91ef4adc290a27ade78d6
Contents?: true
Size: 478 Bytes
Versions: 15
Compression:
Stored size: 478 Bytes
Contents
#!/bin/bash export HOME=<%= deploy_to %> export RAILS_ENV=<%= rails_env %> if [[ -e "${HOME}"/.rvm/scripts/rvm ]]; then source "${HOME}"/.rvm/scripts/rvm fi cd <%= current_path %> >/dev/null CMD=$1 && shift ID=$1 && shift if [[ $# -ge 1 ]]; then MIN="--min-priority $1" && shift fi if [[ $# -ge 1 ]]; then MAX="--max-priority $1" && shift fi exec <%= ruby %> ./script/delayed_job $CMD --prefix <%= application %> --identifier $ID --pid-dir=<%= pid_path %> $MIN $MAX
Version data entries
15 entries across 15 versions & 1 rubygems