From 8fff8ab721305c4df70904154c4b93a7af993749 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 17 Nov 2011 10:25:38 +0000 Subject: examples/: updated to match current state of affairs Consolidating multiple Rack apps into fewer Rack apps on bogomips.org, might as well be transparent about it. --- examples/watcher_demo.ru | 6 +++--- examples/zbatery.conf.rb | 2 +- 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 -- cgit v1.2.3-24-ge0c7