zeronet/launch
2016-03-23 21:27:37 +01:00

12 lines
329 B
Bash
Executable File

#!/bin/sh
# This script has to be placed at $HOME/$USER/$PROJECT directory
# Switch to the directory of this script
cd "$(dirname "$(realpath "$0")")"
# Optionall you may want to enable Tor in order to anonymize the traffic
/usr/bin/tor &
chown -Rh $USER:$USER $DATA
su -s /bin/sh $USER -c "python zeronet.py --ui_ip 0.0.0.0"