Sha256: 426158f30a38c89182c91c8b7d96bf7531d6dbc3fa56bb773c531d863428e857

Contents?: true

Size: 284 Bytes

Versions: 4

Compression:

Stored size: 284 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 -E QUEUE=$QUEUE VERBOSE=1 PIDFILE=tmp/pids/resque_$1_$2.pid nohup rake environment resque:work >> log/resque_worker_$1_$2.log 2>&1 &

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
standup-0.3.37 scripts/resque/resque
standup-0.3.36 scripts/resque/resque
standup-0.3.35 scripts/resque/resque
standup-0.3.34 scripts/resque/resque