tor_multipath_voip/scripts/container/dcall-dup2-server

27 lines
595 B
Text
Raw Normal View History

2020-02-02 16:44:33 +00:00
#!/bin/bash
mkdir -p $3/{log,shared}
cd $3/shared
donar \
-a dup2 \
-s \
2020-02-05 09:29:41 +00:00
-b \
2020-02-02 16:44:33 +00:00
-l $1 \
-e 5000 \
2020-02-05 20:48:00 +00:00
-r 5001 \
2020-02-02 16:44:33 +00:00
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
2020-02-06 22:02:44 +00:00
sleep 1
2020-02-06 22:21:17 +00:00
tail -f ../log/server-donar-stdout.log | grep -q "=== Our 2 requested circuits are now up ===" \
2020-02-05 09:59:33 +00:00
> ../log/server-measboot-stdout.log 2> ../log/server-measboot-stderr.log
2020-02-05 09:29:41 +00:00
2020-02-02 16:44:33 +00:00
dcall \
-t filesrc \
-a file:///assets/i_have_a_dream.mp3 \
-s fakesink \
-b 127.0.0.1 \
2020-02-05 20:48:00 +00:00
-p 5001 \
2020-02-02 16:44:33 +00:00
-l $2 \
-d ../log/server-dcall-gstreamer.log \
> ../log/server-dcall-stdout.log 2> ../log/server-dcall-stderr.log