Sha256: 6f21b85d3b58d1fbc3154e7abc8e99d7ae2b99caebe5b9d8b6e912fba59a3b55

Contents?: true

Size: 412 Bytes

Versions: 16

Compression:

Stored size: 412 Bytes

Contents

#!/bin/bash
export HOME="/home/<%= scripts.ec2.params.ssh_user %>"

if [  $1 = "ALL_QUEUES" ];then
    QUEUE=*
  else
    QUEUE=$1
fi

sudo -u www-data /usr/local/rvm/bin/rvm-shell -c "cd <%= scripts.webapp.app_path%> && RAILS_ENV=<%= scripts.webapp.params.rails_env%> QUEUE=$QUEUE VERBOSE=1 PIDFILE=tmp/pids/resque_$1_$2.pid nohup bundle exec rake environment resque:work >> log/resque_worker_$1_$2.log 2>&1 &"

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
standup-0.6.3 scripts/resque/resque
standup-0.6.2 scripts/resque/resque
standup-0.6.1 scripts/resque/resque
standup-0.6.0 scripts/resque/resque
standup-0.5.14 scripts/resque/resque
standup-0.5.13 scripts/resque/resque
standup-0.5.11 scripts/resque/resque
standup-0.5.10 scripts/resque/resque
standup-0.5.9 scripts/resque/resque
standup-0.5.8 scripts/resque/resque
standup-0.5.7 scripts/resque/resque
standup-0.5.6 scripts/resque/resque
standup-0.5.5 scripts/resque/resque
standup-0.5.4 scripts/resque/resque
standup-0.5.3 scripts/resque/resque
standup-0.5.1 scripts/resque/resque