20 lines
415 B
Bash
Executable file
20 lines
415 B
Bash
Executable file
#!/bin/bash
|
|
mkdir -p $4/{log,shared,res}
|
|
|
|
donar \
|
|
-a lightning \
|
|
-c \
|
|
-o $4/shared/onion_services.pub \
|
|
-l $1 \
|
|
-p $2 \
|
|
-e 5000 \
|
|
-r 5000 \
|
|
> $4/log/client-donar-stdout.log 2> $4/log/client-donar-stderr.log &
|
|
|
|
dcall \
|
|
-t filesrc \
|
|
-a /assets/i_have_a_dream.mp3 \
|
|
-s fakesink \
|
|
-l $3 \
|
|
-d $4/log/server-dcall-gstreamer.log \
|
|
> $4/log/client-dcall-stdout.log 2> $4/log/client-dcall-stderr.log
|