Sha256: f3e8a2f38d9b52b6f3352ff735c962f27cfebc454a6b4f15af1824fd75ddf2a4

Contents?: true

Size: 1.27 KB

Versions: 49

Compression:

Stored size: 1.27 KB

Contents

# an example Monit configuration file for delayed_job running multiple processes
#
# To use:
# 1. copy to /var/www/apps/{app_name}/shared/delayed_job.monitrc
# 2. replace {app_name} as appropriate
# 3. add this to your /etc/monit/monitrc
#
#   include /var/www/apps/{app_name}/shared/delayed_job.monitrc

check process delayed_job_0
  with pidfile /var/www/apps/{app_name}/shared/pids/delayed_job.0.pid
  start program = "/usr/bin/env RAILS_ENV=production /var/www/apps/{app_name}/current/script/delayed_job start -i 0"
  stop program = "/usr/bin/env RAILS_ENV=production /var/www/apps/{app_name}/current/script/delayed_job stop -i 0"
  
check process delayed_job_1
  with pidfile /var/www/apps/{app_name}/shared/pids/delayed_job.1.pid
  start program = "/usr/bin/env RAILS_ENV=production /var/www/apps/{app_name}/current/script/delayed_job start -i 1"
  stop program = "/usr/bin/env RAILS_ENV=production /var/www/apps/{app_name}/current/script/delayed_job stop -i 1"
  
check process delayed_job_2
  with pidfile /var/www/apps/{app_name}/shared/pids/delayed_job.2.pid
  start program = "/usr/bin/env RAILS_ENV=production /var/www/apps/{app_name}/current/script/delayed_job start -i 2"
  stop program = "/usr/bin/env RAILS_ENV=production /var/www/apps/{app_name}/current/script/delayed_job stop -i 2"

Version data entries

49 entries across 49 versions & 11 rubygems

Version Path
delayed_job-2.0.8 contrib/delayed_job_multiple.monitrc
delayed_job_csi-2.0.7 contrib/delayed_job_multiple.monitrc
delayed_job_unique_key-0.0.4 contrib/delayed_job_multiple.monitrc
delayed_job_with_named_queues-2.0.7.14 contrib/delayed_job_multiple.monitrc
delayed_job_with_named_queues-2.0.7.13 contrib/delayed_job_multiple.monitrc
delayed_job_with_named_queues-2.0.7.12 contrib/delayed_job_multiple.monitrc
delayed_job_with_named_queues-2.0.7.11 contrib/delayed_job_multiple.monitrc
delayed_job_with_named_queues-2.0.7.10 contrib/delayed_job_multiple.monitrc
delayed_job_with_named_queues-2.0.7.9 contrib/delayed_job_multiple.monitrc
delayed_job_with_named_queues-2.0.7.8 contrib/delayed_job_multiple.monitrc
delayed_job_with_named_queues-2.0.7.7 contrib/delayed_job_multiple.monitrc
delayed_job_with_named_queues-2.0.7.6 contrib/delayed_job_multiple.monitrc
delayed_job-3.0.1 contrib/delayed_job_multiple.monitrc
delayed-job-ajaycb-2.0.10 contrib/delayed_job_multiple.monitrc
delayed_job_with_named_queues-2.0.7.5 contrib/delayed_job_multiple.monitrc
delayed_job_with_named_queues-2.0.7.4 contrib/delayed_job_multiple.monitrc
delayed_job_with_named_queues-2.0.7.3 contrib/delayed_job_multiple.monitrc
delayed_job-3.0.0 contrib/delayed_job_multiple.monitrc
delayed_job_with_named_queues-2.0.7.2 contrib/delayed_job_multiple.monitrc
delayed_job_with_named_queues-2.0.7.1 contrib/delayed_job_multiple.monitrc