tor_multipath_voip/scripts/container/dcall-lightning-client

28 lines
639 B
Text
Raw Normal View History

2020-01-31 09:50:53 +00:00
#!/bin/bash
mkdir -p $4/{log,shared,res}
donar \
-a lightning \
-c \
-o $4/shared/onion_services.pub \
-l $1 \
-p $2 \
2020-02-05 09:29:41 +00:00
-b \
2020-02-05 20:48:00 +00:00
-e 5001 \
2020-01-31 09:50:53 +00:00
-r 5000 \
> $4/log/client-donar-stdout.log 2> $4/log/client-donar-stderr.log &
2020-02-06 22:02:44 +00:00
sleep 1
2020-02-06 14:44:19 +00:00
tail -f $4/log/server-donar-stdout.log | grep -q "=== Our 12 requested circuits are now up ===" \
2020-02-05 09:42:10 +00:00
> $4/log/client-measboot-stdout.log 2> $4/log/client-measboot-stderr.log
2020-02-05 09:29:41 +00:00
2020-01-31 09:50:53 +00:00
dcall \
-t filesrc \
2020-02-02 14:15:50 +00:00
-a file:///assets/i_have_a_dream.mp3 \
2020-01-31 09:50:53 +00:00
-s fakesink \
2020-02-02 14:51:15 +00:00
-b 127.0.0.1 \
2020-02-05 20:48:00 +00:00
-c 5001 \
2020-01-31 09:50:53 +00:00
-l $3 \
2020-02-02 14:27:30 +00:00
-d $4/log/client-dcall-gstreamer.log \
2020-01-31 09:50:53 +00:00
> $4/log/client-dcall-stdout.log 2> $4/log/client-dcall-stderr.log