about summary refs log tree commit homepage
path: root/examples/zbatery.conf.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-16 16:38:46 -0700
committerEric Wong <normalperson@yhbt.net>2011-03-16 16:38:46 -0700
commit57c9f70fb3c14ed94f4fb2445a8a4168f8c5253b (patch)
treee6cdffd3175d0b3371ed1b882af83fcfb9e7b7f1 /examples/zbatery.conf.rb
parent3656a61bfb24ac76bc47d314327c01f9fd10a717 (diff)
downloadraindrops-57c9f70fb3c14ed94f4fb2445a8a4168f8c5253b.tar.gz
Diffstat (limited to 'examples/zbatery.conf.rb')
-rw-r--r--examples/zbatery.conf.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/zbatery.conf.rb b/examples/zbatery.conf.rb
new file mode 100644
index 0000000..7feee32
--- /dev/null
+++ b/examples/zbatery.conf.rb
@@ -0,0 +1,8 @@
+# Used for running Raindrops::Watcher, which requires a multi-threaded
+# Rack server capable of streaming a response.  Threads must be used,
+# so Zbatery is recommended: http://zbatery.bogomip.org/
+Rainbows! do
+  use :ThreadSpawn
+end
+stderr_path "/var/log/rainbows/stderr.log"
+stdout_path "/var/log/rainbows/stdout.log"