<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -9,7 +9,14 @@ h2. Requirements
 
 h2. Install
 
-@sudo gem install jnewland-god_web -s http://gems.github.com@
+&lt;code&gt;
+&lt;pre&gt;
+git clone git://github.com/jnewland/god_web.git
+cd god_web
+gem build god_web.gemspec
+sudo gem install -l god_web-*.gem
+&lt;/pre&gt;
+&lt;/code&gt;
 
 h2. Usage
 
@@ -29,6 +36,50 @@ Then provide that yaml file as the first argument to god_web:
 
 @sudo god_web /path/to/god_web.yml -p PORT_TO_RUN_ON -e production@
 
+You might want to monitor god_web to make sure it stays up:
+
+&lt;code&gt;
+&lt;pre&gt;
+God.watch do |w|
+  w.name              = &quot;god_web&quot;
+  w.interval          = 1.minute
+  w.start             = &quot;sudo god_web -e prodction -p 8888&quot;
+  w.start_grace       = 10.seconds
+  w.restart_grace     = 10.seconds
+
+  w.start_if do |start|
+    start.condition(:process_running) do |c|
+      c.running = false
+    end
+  end
+
+  w.restart_if do |restart|
+    restart.condition(:memory_usage) do |c|
+      c.above = 20.megabytes
+      c.times = [3, 5]
+    end
+
+    restart.condition(:cpu_usage) do |c|
+      c.above = 25.percent
+      c.times = 5
+    end
+  end
+
+  w.lifecycle do |on|
+    on.condition(:flapping) do |c|
+      c.to_state = [:start, :restart]
+      c.times = 5
+      c.within = 5.minute
+      c.transition = :unmonitored
+      c.retry_in = 10.minutes
+      c.retry_times = 5
+      c.retry_within = 2.hours
+    end
+  end
+end
+&lt;/pre&gt;
+&lt;/code&gt;
+
 h3. Author
 
 &quot;Jesse Newland&quot;:http://jnewland.com/</diff>
      <filename>Readme.textile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c9cb962bcba500f91bfae240db3d78c03f4799e5</id>
    </parent>
  </parents>
  <author>
    <name>Jesse Newland</name>
    <email>jnewland@gmail.com</email>
  </author>
  <url>http://github.com/jnewland/god_web/commit/8f46bd190e84723a295d994fdb24db28f6ebad13</url>
  <id>8f46bd190e84723a295d994fdb24db28f6ebad13</id>
  <committed-date>2008-05-19T06:40:52-07:00</committed-date>
  <authored-date>2008-05-19T06:40:52-07:00</authored-date>
  <message>update docs</message>
  <tree>5b7261b34d7f0bec8aa5c7c8fcf45c5b1b715b06</tree>
  <committer>
    <name>Jesse Newland</name>
    <email>jnewland@gmail.com</email>
  </committer>
</commit>
