2019-05-06 15:06:01 +00:00
|
|
|
#!/bin/bash
|
2019-05-15 09:23:42 +00:00
|
|
|
mkdir -p $1/log
|
|
|
|
tor -f /etc/torrc > $1/log/server-tor-stdout.log 2> $1/log/server-tor-stderr.log &
|
2019-05-06 15:06:01 +00:00
|
|
|
sleep 2
|
2019-05-15 09:23:42 +00:00
|
|
|
mkdir -p $1/shared
|
|
|
|
cd $1/shared
|
2019-05-06 15:06:01 +00:00
|
|
|
pwd
|
2019-05-15 09:23:42 +00:00
|
|
|
( sleep 180; dump_circuits > $1/log/server-circuits.txt ) &
|
|
|
|
donar -a dup2 -s -e 9000 > $1/log/server-donar-stdout.log 2> $1/log/server-donar-stderr.log &
|
|
|
|
udpecho -p 9000 > $1/log/server-udpecho-stdout.log 2> $1/log/server-udpecho-stderr.log
|