highgroove / scout-plugins

Plugins for the Scout Server Monitoring and Reporting Tool

This URL has Read+Write access

itsderek23 (author)
Mon Jun 22 09:28:35 -0700 2009
commit  dbdc24bea9835ab06d0415cae4aaaaf95665ac5b
tree    d8a3e04a7292fda74b482987a67d1b57ad99d6f2
parent  23b228c72eb8bd1fd1b66f9b8837c91aab3754a8
scout-plugins / keep_process_running
name age message
..
file README Loading commit data...
file keep_process_running.rb
file keep_process_running.yml
keep_process_running/README
Keep Process Running
======================
Created by 
 * [Highgroove Studios LLC](http://www.highgroove.com)

Dependencies
------------

No dependencies.
  
Options
-------

Process to Monitor: takes in the full path to a process to monitor, i.e.:

  ruby script/runner script/ferret_start
  
Restart Action: the optional command to run (if no restart action given, the process itself is used) to restart the 
process if it is not running, i.e.:

  cd /path/to/rails/app && /usr/bin/ruby /path/to/rails/appscript/runner /path/to/rails_app/script/ferret_start

Compatibility 
-------------

Works on Linux and OSX.