bash-3.2$ cat /etc/monit.d/anounz.conf 
check process delayed_job.0 with pidfile /srv/www/anounz/apps/anounz/shared/pids/delayed_job.0.pid
start = "/usr/bin/env RAILS_ENV=production /srv/www/anounz/apps/anounz/current/script/delayed_job -i 0 start"
stop = "/usr/bin/env RAILS_ENV=production /srv/www/anounz/apps/anounz/current/script/delayed_job -i 0 stop"

check process delayed_job.1 with pidfile /srv/www/anounz/apps/anounz/shared/pids/delayed_job.1.pid
start = "/usr/bin/env RAILS_ENV=production /srv/www/anounz/apps/anounz/current/script/delayed_job -i 1 start"
stop = "/usr/bin/env RAILS_ENV=production /srv/www/anounz/apps/anounz/current/script/delayed_job -i 1 stop"

check process delayed_job.2 with pidfile /srv/www/anounz/apps/anounz/shared/pids/delayed_job.2.pid
start = "/usr/bin/env RAILS_ENV=production /srv/www/anounz/apps/anounz/current/script/delayed_job -i 2 start"
stop = "/usr/bin/env RAILS_ENV=production /srv/www/anounz/apps/anounz/current/script/delayed_job -i 2 stop"

check process delayed_job.3 with pidfile /srv/www/anounz/apps/anounz/shared/pids/delayed_job.3.pid
start = "/usr/bin/env RAILS_ENV=production /srv/www/anounz/apps/anounz/current/script/delayed_job -i 3 start"
stop = "/usr/bin/env RAILS_ENV=production /srv/www/anounz/apps/anounz/current/script/delayed_job -i 3 stop"