Sha256: ae3a1ed5955a9c006b85208140a17a476b1ebeac35e230a117dc1ab1cf467717

Contents?: true

Size: 662 Bytes

Versions: 4

Compression:

Stored size: 662 Bytes

Contents

# an example Monit configuration file for delayed_job
# See: http://stackoverflow.com/questions/1226302/how-to-monitor-delayedjob-with-monit/1285611
#
# 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
  with pidfile /var/www/apps/{app_name}/shared/pids/delayed_job.pid
  start program = "RAILS_ENV=production /var/www/apps/{app_name}/current/script/delayed_job start"
  stop program = "RAILS_ENV=production /var/www/apps/{app_name}/current/script/delayed_job stop"

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
mathie-delayed_job-1.8.4 contrib/delayed_job.monitrc
xspond-delayed_job-1.8.5 contrib/delayed_job.monitrc
delayed_job-1.8.4 contrib/delayed_job.monitrc
delayed_job-1.8.3 contrib/delayed_job.monitrc