tor_multipath_voip/scripts/container/dcall-lightning-server
2020-02-02 15:15:50 +01:00

20 lines
395 B
Bash
Executable file

#!/bin/bash
mkdir -p $4/{log,shared}
cd $4/shared
donar \
-a lightning \
-s \
-l $1 \
-p $2 \
-e 5000 \
-r 5000 \
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
dcall \
-t filesrc \
-a file:///assets/i_have_a_dream.mp3 \
-s fakesink \
-l $3 \
-d ../log/server-dcall-gstreamer.log \
> ../log/server-dcall-stdout.log 2> ../log/server-dcall-stderr.log