tor_multipath_voip/scripts/lightning-client

16 lines
451 B
Text
Raw Normal View History

2019-10-16 15:17:41 +00:00
#!/bin/bash
mkdir -p $6/{log,shared,res}
donar \
-a lightning \
-c \
-o $6/shared/onion_services.pub \
-l $4 \
-p $5 \
-b \
-r 9000 \
> $6/log/client-donar-stdout.log 2> $6/log/client-donar-stderr.log &
sleep 2
2019-10-16 16:15:09 +00:00
measlat -h 127.13.3.7 -p 9000 -r > $6/log/client-measboot-stdout.log 2> $6/log/client-measboot-stderr.log
2019-10-16 15:17:41 +00:00
measlat -h 127.13.3.7 -p 9000 -c $1 -i $2 -s $3 > $6/log/client-measlat-stdout.log 2> $6/log/client-measlat-stderr.log