about summary refs log tree commit homepage
path: root/examples/zbatery.conf.rb
diff options
context:
space:
mode:
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"