about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-11-17 10:25:38 +0000
committerEric Wong <normalperson@yhbt.net>2011-11-17 10:26:20 +0000
commit8fff8ab721305c4df70904154c4b93a7af993749 (patch)
tree0b971eddc0ff84ea334f36040a6c35a8e128c264
parent499e63e2666f88134f7d47f3bcfdfedd72396e70 (diff)
downloadraindrops-8fff8ab721305c4df70904154c4b93a7af993749.tar.gz
Consolidating multiple Rack apps into fewer Rack apps on
bogomips.org, might as well be transparent about it.
-rw-r--r--examples/watcher_demo.ru6
-rw-r--r--examples/zbatery.conf.rb2
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/watcher_demo.ru b/examples/watcher_demo.ru
index 34aee2d..1173461 100644
--- a/examples/watcher_demo.ru
+++ b/examples/watcher_demo.ru
@@ -1,5 +1,6 @@
-# This is the exact config that powers http://raindrops-demo.bogomips.org/
-# This is used with zbatery.conf.rb
+# This is a snippet of the config that powers
+# http://raindrops-demo.bogomips.org/
+# This may be used with the packaged zbatery.conf.rb
 #
 # zbatery -c zbatery.conf.ru watcher_demo.ru -E none
 require "raindrops"
@@ -7,7 +8,6 @@ use Raindrops::Middleware
 listeners = %w(
   0.0.0.0:9418
   0.0.0.0:80
-  /tmp/.raindrops
   /tmp/.r
 )
 run Raindrops::Watcher.new :listeners => listeners
diff --git a/examples/zbatery.conf.rb b/examples/zbatery.conf.rb
index 8a1e0c8..3f67c7a 100644
--- a/examples/zbatery.conf.rb
+++ b/examples/zbatery.conf.rb
@@ -8,6 +8,6 @@ log_dir = "/var/log/zbatery"
 if File.writable?(log_dir) && File.directory?(log_dir)
   stderr_path "#{log_dir}/raindrops-demo.stderr.log"
   stdout_path "#{log_dir}/raindrops-demo.stdout.log"
-  listen "/tmp/.raindrops"
+  listen "/tmp/.r"
   pid "/tmp/.raindrops.pid"
 end