Sha256: d13cae59a8c7fd7cd91d2e5672f222f96a379429cc026d706531501c7d5c4605
Contents?: true
Size: 615 Bytes
Versions: 3
Compression:
Stored size: 615 Bytes
Contents
check process resque_worker_QUEUE with pidfile /data/APP_NAME/current/tmp/pids/resque_worker_QUEUE.pid start program = "/bin/sh -c 'cd /data/APP_NAME/current; RAILS_ENV=production QUEUE=queue_name VERBOSE=1 nohup rake resque:work& &> log/resque_worker_QUEUE.log && echo $! > tmp/pids/resque_worker_QUEUE.pid'" as uid deploy and gid deploy stop program = "/bin/sh -c 'cd /data/APP_NAME/current && kill -s QUIT `cat tmp/pids/resque_worker_QUEUE.pid` && rm -f tmp/pids/resque_worker_QUEUE.pid; exit 0;'" if totalmem is greater than 300 MB for 10 cycles then restart # eating up memory? group resque_workers
Version data entries
3 entries across 3 versions & 3 rubygems
Version | Path |
---|---|
opengotham_resque-1.8.2 | examples/monit/resque.monit |
resque-mongo-1.8.1 | examples/monit/resque.monit |
resque-1.8.0 | examples/monit/resque.monit |