raindrops.git  about / heads / tags
real-time stats for preforking Rack servers
blob 7adba8e549d4527ce842cf1931d7b791a1c29b48 346 bytes (raw)
$ git show freebsd:examples/watcher_demo.ru	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
# This is a snippet of the config that powers
# https://raindrops-demo.bogomips.org/
# This may be used with the packaged zbatery.conf.rb
#
# zbatery -c zbatery.conf.ru watcher_demo.ru -E none
require "raindrops"
use Raindrops::Middleware
listeners = %w(
  0.0.0.0:9418
  0.0.0.0:80
  /tmp/.r
)
run Raindrops::Watcher.new :listeners => listeners

git clone https://yhbt.net/raindrops.git