Sha256: 9a8a611e3b756d88a8577e8d1158cd03791f64cbb60b51df8da424a91833e5c9

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

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

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

sudo su -l www-data --command "cd /opt/gs && 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

2 entries across 2 versions & 1 rubygems

Version Path
standup-0.5.0 scripts/resque/resque
standup-0.4.0 scripts/resque/resque