You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
345 B

#!/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 --ui_port 43110"