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