Sha256: e1676195030b1228871c762bfb4b745f681aa830b697ce511fa63893922f2504

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

#!/bin/bash

if [  $1 = "ALL_QUEUES" ];then
    sudo -u www-data -E QUEUE=* VERBOSE=1 nohup rake environment resque:work& > log/resque_worker_$1_$2.log &
  else
    sudo -u www-data -E QUEUE=$queueName VERBOSE=1 nohup rake environment resque:work& > log/resque_worker_$1_$2.log &
fi
echo $(($! - 1)) > tmp/pids/resque_$1_$2.pid

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
standup-0.3.23 scripts/resque/resque