Sha256: 10e904025fa0fee612b523ebf832a99b40ae55fb86f1bc3e68fe9739bdc1a427

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

#!/bin/bash

queueName=$1
if $queueName = 'ALL_QUEUES';then
   $queueName = '*'
fi


sudo -u www-data -E QUEUE=$queueName VERBOSE=1 nohup rake environment resque:work& > log/resque_worker_$1_$2.log &

echo $(($! - 1)) > tmp/pids/resque_$1_$2.pid


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
standup-0.3.22 scripts/resque/resque