status: add error? method
[upr.git] / bin / upr-drb
blobc4f75e200be552d2de9923cceeec1ea07d162494
1 #!/usr/bin/env ruby
2 require 'drb'
3 require 'upr'
4 url = ARGV.shift or abort "#$0 URL\n e.g.: #$0 druby://0.0.0.0:2999"
5 DRb.start_service(url, Upr::Monitor.new)
6 DRb.thread.join