zeronet/launch

12 lines
345 B
Plaintext
Raw Normal View History

2016-03-19 13:16:39 +00:00
#!/bin/sh
# This script has to be placed at $HOME/$USER/$PROJECT directory
# Switch to the directory of this script
cd "$(dirname "$(realpath "$0")")"
2016-03-23 20:27:37 +00:00
# Optionall you may want to enable Tor in order to anonymize the traffic
/usr/bin/tor &
2016-03-19 13:16:39 +00:00
chown -Rh $USER:$USER $DATA
2018-03-03 23:29:48 +00:00
su -s /bin/sh $USER -c "python zeronet.py --ui_ip 0.0.0.0 --ui_port 43110"