Sha256: 8cddf00311efc06ecfa64213ee615a5330f676567ba5b33580a2981cb4ba0d78
Contents?: true
Size: 490 Bytes
Versions: 27
Compression:
Stored size: 490 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_exec_prefix %> ./script/delayed_job $CMD --prefix <%= application %> --identifier $ID --pid-dir=<%= pid_path %> $MIN $MAX
Version data entries
27 entries across 27 versions & 1 rubygems