God for Process Monitoring
God is a process monitoring framework developed by Tom Preston Werner of Github (@mojombo on github). It is one of the awesomest gems out there for monitoring processes in your server.
Install God Gem as
$ [sudo] gem install god
Create a .god config file which basically describes the processes to be monitored and more.
An example .god file
https://gist.github.com/rajeev-sourcebits/f1b95de7ad614176459d
After adding configuration settings to your .god file, You can start your god using
god -c /path/to/god
This command will make the god run as demonized process monitoring your processes.
God takes care of restarting your processes if they fail and much more.
God is Great.
Written by Rajeev N Bharshetty
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#