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
|
|
|
|
su -s /bin/sh $USER -c "python zeronet.py --ui_ip 0.0.0.0"
|