Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startup script and pull file script #17

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions scripts/start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh
DIR=$( cd "$(dirname "$0")" ; pwd -P )
. $DIR/env.sh
(
cd $BASEDIR/init
echo "--- Shutdown services ---"
./down_proxy.sh
echo "--- Restart privoxy service ---"
./restart_privoxy.sh
echo "--- Start tor instance ---"
./start_tor.sh
echo "\nTo check if all the links are working, test these command with a valid onion website. If you can see the page of your onion, you're all good."
echo "curl --socks5-hostname 127.0.0.1:9051 http://darknt2vpswmwp5u.onion/"
echo "curl --socks5-hostname 127.0.0.1:9054 http://darknt2vpswmwp5u.onion/"
echo "curl --proxy 127.0.0.1:3129 http://darknt2vpswmwp5u.onion/"
echo "curl --proxy 127.0.0.1:3132 http://darknt2vpswmwp5u.onion/"
)