Sha256: 1e02bcf35e4671001a00e898898c849ee30775cca58df128c57221b5fcdcfaad

Contents?: true

Size: 672 Bytes

Versions: 2

Compression:

Stored size: 672 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} and {environment} 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 = "/var/www/apps/{app_name}/current/script/delayed_job -e {environment} start"
  stop program = "/var/www/apps/{app_name}/current/script/delayed_job -e {environment} stop"

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
collectiveidea-delayed_job-1.8.2 contrib/delayed_job.monitrc
delayed_job-1.8.2 contrib/delayed_job.monitrc