torch-agent/docker-tor/torch-agent.wrapper.sh

13 lines
172 B
Bash
Executable File

#!/bin/bash
tor &
while ! curl -s --socks5 127.0.0.1:9050 'https://check.torproject.org/' | grep -qm1 Congratulations
do
sleep 3
done
sleep 3
torch-agent $1 $2 $3 $4