3 # god Startup script for god (http://god.rubyforge.org)
6 # description: God is an easy to configure, easy to extend monitoring \
7 # framework written in Ruby.
14 # Go no further if config directory is missing.
15 [ -d "$CONF_DIR" ] ||
exit 0
19 # Create pid directory
20 ruby
/usr
/bin
/god
-c $CONF_DIR/master.conf
24 ruby
/usr
/bin
/god terminate
28 ruby
/usr
/bin
/god terminate
29 ruby
/usr
/bin
/god
-c $CONF_DIR/master.conf
33 ruby
/usr
/bin
/god status
37 echo "Usage: god {start|stop|restart|status}"