Sha256: 133f5dbc02ae157efe6f85f97e7075c44b483967718782890b51d6ba31a2b4ab

Contents?: true

Size: 694 Bytes

Versions: 1

Compression:

Stored size: 694 Bytes

Contents

# an example Monit configuration file for clockworkd
# See: http://stackoverflow.com/questions/1226302/how-to-monitor-delayedjob-with-monit/1285611
#
# To use:
# 1. copy to /var/www/apps/{app_name}/shared/clockworkd.monitrc
# 2. replace {app_name} as appropriate
# 3. add this to your /etc/monit/monitrc
#
#   include /var/www/apps/{app_name}/shared/clockworkd.monitrc

check process clockworkd
  with pidfile /var/www/apps/{app_name}/shared/pids/clockworkd.pid
  start program = "/usr/bin/env RAILS_ENV=production /var/www/apps/{app_name}/current/script/clockworkd start"
  stop program = "/usr/bin/env RAILS_ENV=production /var/www/apps/{app_name}/current/script/clockworkd stop"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clockworkd-0.2.5 contrib/clockworkd.monitrc