repo.or.cz
/
upr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
status: add error? method
[upr.git]
/
bin
/
upr-drb
blob
c4f75e200be552d2de9923cceeec1ea07d162494
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