diff options
-rw-r--r-- | examples/watcher_demo.ru | 6 | ||||
-rw-r--r-- | 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 |