#!/bin/bash
mkdir -p $2/{log,shared}
cd $2/shared
measlat -t tor -p 7500 -l -s $1 > ../log/server-measlat-stdout.log 2> ../log/server-measlat-stderr.log