blob: 6c7da862148255039179f1d1ebdc3ff6fd43b1fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
PORT=$(($((5000+$RANDOM)) % 10000))
(>&2 echo "starting remote-iserv on port $PORT")
./inst/bin/remote-iserv tmp $PORT &
REMOTE="$!"
(>&2 echo "starting iserv-proxy with $@")
./inst/bin/iserv-proxy $@ 127.0.0.1 $PORT
kill $REMOTE
|