[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #22375 [Core Tor/Stem]: Can tor-prompt optionally wait for tor to start on a port, rather than failing straight away?
#22375: Can tor-prompt optionally wait for tor to start on a port, rather than
failing straight away?
---------------------------+-----------------------------------
Reporter: teor | Owner: atagar
Type: enhancement | Status: needs_information
Priority: Medium | Milestone:
Component: Core Tor/Stem | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------+-----------------------------------
Changes (by atagar):
* status: new => needs_information
Comment:
Hi teor. Sorry but this one seems a tad specialized to Chutney. Would a
shell script do the trick?
{{{
% cat tor-prompt-await.sh
while ! nc -z localhost 9051; do
sleep 0.5
done
exec tor-prompt --interface 9051
}}}
I'm all ears if you think this would be more generally useful.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22375#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs