Skip to content

Instantly share code, notes, and snippets.

@luigi
Created August 4, 2010 18:25
Show Gist options
  • Save luigi/508562 to your computer and use it in GitHub Desktop.
Save luigi/508562 to your computer and use it in GitHub Desktop.
check process delayed_job_0
with pidfile /home/poligraft/www/current/tmp/pids/delayed_job.0.pid
start program = "/bin/bash -c 'cd /home/poligraft/www/current/ && /usr/bin/env RAILS_ENV=production script/delayed_job start -i 0'"
as uid poligraft and gid poligraft
stop program = "/bin/bash -c 'cd /home/poligraft/www/current/ && /usr/bin/env RAILS_ENV=production script/delayed_job stop -i 0'"
as uid poligraft and gid poligraft
check process delayed_job_1
with pidfile /home/poligraft/www/current/tmp/pids/delayed_job.1.pid
start program = "/bin/bash -c 'cd /home/poligraft/www/current/ && /usr/bin/env RAILS_ENV=production script/delayed_job start -i 1'"
as uid poligraft and gid poligraft
stop program = "/bin/bash -c 'cd /home/poligraft/www/current/ && /usr/bin/env RAILS_ENV=production script/delayed_job stop -i 1'"
as uid poligraft and gid poligraft
check process delayed_job_2
with pidfile /home/poligraft/www/current/tmp/pids/delayed_job.2.pid
start program = "/bin/bash -c 'cd /home/poligraft/www/current/ && /usr/bin/env RAILS_ENV=production script/delayed_job start -i 2'"
as uid poligraft and gid poligraft
stop program = "/bin/bash -c 'c
as uid poligraft and gid poligraft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment