about summary refs log tree commit homepage
path: root/examples
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-17 02:33:29 +0000
committerEric Wong <normalperson@yhbt.net>2011-03-17 02:33:59 +0000
commit0ab20cd7e10a3c9d4ddcbe2bde28542c350b4b0e (patch)
tree4280f0309a2e50c03d6e590e5cb5e551b37141ef /examples
parent601fdd86fdbf847e47cdbb981afc60dafa407bd5 (diff)
downloadraindrops-0ab20cd7e10a3c9d4ddcbe2bde28542c350b4b0e.tar.gz
git is on 9418 and my cgit UNIX domain socket
Diffstat (limited to 'examples')
-rw-r--r--examples/watcher_demo.ru8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/watcher_demo.ru b/examples/watcher_demo.ru
index 36a9ed3..34aee2d 100644
--- a/examples/watcher_demo.ru
+++ b/examples/watcher_demo.ru
@@ -4,4 +4,10 @@
 # zbatery -c zbatery.conf.ru watcher_demo.ru -E none
 require "raindrops"
 use Raindrops::Middleware
-run Raindrops::Watcher.new :listeners => %w(0.0.0.0:80 /tmp/.raindrops)
+listeners = %w(
+  0.0.0.0:9418
+  0.0.0.0:80
+  /tmp/.raindrops
+  /tmp/.r
+)
+run Raindrops::Watcher.new :listeners => listeners