Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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.
  • Loading branch information...
commit 8fff8ab721305c4df70904154c4b93a7af993749 1 parent 499e63e
Eric Wong authored
Showing with 4 additions and 4 deletions.
  1. +3 −3 examples/watcher_demo.ru
  2. +1 −1  examples/zbatery.conf.rb
View
6 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
View
2  examples/zbatery.conf.rb
@@ -8,6 +8,6 @@
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
Please sign in to comment.
Something went wrong with that request. Please try again.