1 # Used for running Raindrops::Watcher, which requires a multi-threaded
2 # Rack server capable of streaming a response. Threads must be used,
3 # so any multi-threaded Rack server may be used.
4 # zbatery was recommended in the past, but it is abandoned
5 # <http://zbatery.bogomip.org/>.
6 # yahns may work as an alternative (see yahns.conf.rb in this dir)
10 log_dir = "/var/log/zbatery"
11 if File.writable?(log_dir) && File.directory?(log_dir)
12 stderr_path "#{log_dir}/raindrops-demo.stderr.log"
13 stdout_path "#{log_dir}/raindrops-demo.stdout.log"
15 pid "/tmp/.raindrops.pid"