File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 11check process resque_worker_QUEUE
22 with pidfile /data/APP_NAME/current/tmp/pids/resque_worker_QUEUE.pid
3- start program = "/bin/sh -c 'cd /data/APP_NAME/current; RAILS_ENV=production QUEUE=queue_name VERBOSE=1 nohup rake environment resque:work& > log/ resque_worker_QUEUE.log && echo $! > tmp/pids/ resque_worker_QUEUE.pid' " as uid deploy and gid deploy
3+ start program = "/bin/sh -c 'cd /data/APP_NAME/current; nohup rake environment resque:work RAILS_ENV=production QUEUE=queue_name VERBOSE=1 PIDFILE=tmp/pids/ resque_worker_QUEUE.pid & > log/ resque_worker_QUEUE.log " as uid deploy and gid deploy
44 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;'"
55 if totalmem is greater than 300 MB for 10 cycles then restart # eating up memory?
66 group resque_workers
You can’t perform that action at this time.
0 commit comments