Sha256: 3dd90760c92d094910e2e4b37345e23ee390c188afd93d01b719052c8b5156cb
Contents?: true
Size: 828 Bytes
Versions: 6
Compression:
Stored size: 828 Bytes
Contents
set daemon 60 set mailserver localhost set mail-format { from: sample@foobar.com subject: Alert from Backgroundrb } set alert hemant@gmail.com set httpd port 3000 and use address localhost # only accept connection from localhost allow localhost # allow localhost to connect to the server and check process backgroundrb with pidfile /home/hemant/rails_sandbox/tmp/pids/backgroundrb_11008.pid start program = "/usr/bin/ruby /home/hemant/rails_sandbox/script/backgroundrb start" stop program = "/usr/bin/ruby /home/hemant/rails_sandbox/script/backgroundrb stop" if totalmem > 50.0 MB for 5 cycles then restart if cpu usage > 95% for 3 cycles then restart if failed port 11008 type tcp with timeout 30 seconds for 5 cycles then restart group backgroundrb
Version data entries
6 entries across 6 versions & 1 rubygems