scripts/resque/resque in standup-0.3.30 vs scripts/resque/resque in standup-0.3.31

- old
+ new

@@ -1,9 +1,10 @@ #!/bin/bash export HOME="/home/<%= scripts.ec2.params.ssh_user %>" if [ $1 = "ALL_QUEUES" ];then - sudo -u www-data -E QUEUE=* VERBOSE=1 nohup rake environment resque:work >> log/resque_worker_$1_$2.log 2>&1 & + QUEUE=* else - sudo -u www-data -E QUEUE=$1 VERBOSE=1 nohup rake environment resque:work >> log/resque_worker_$1_$2.log 2>&1 & + QUEUE=$1 fi -echo $(($! - 1)) > tmp/pids/resque_$1_$2.pid + +sudo -u www-data -E QUEUE=$QUEUE VVERBOSE=1 PIDFILE=tmp/pids/resque_$1_$2.pid nohup rake environment resque:work >> log/resque_worker_$1_$2.log 2>&1 & \ No newline at end of file