tor_multipath_voip/scripts/container/dcall-lightning-server

28 lines
612 B
Text
Raw Normal View History

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