mirror of
https://abf.rosa.ru/djam/zeronet.git
synced 2025-02-23 22:52:55 +00:00
11 lines
326 B
Bash
11 lines
326 B
Bash
#!/bin/bash
|
|
|
|
DIR="$HOME/.zeronet"
|
|
ZNETPATH="/usr/lib/python2.7/site-packages/zeronet"
|
|
|
|
if [ ! -d $DIR ]; then
|
|
mkdir -p $DIR/data $DIR/logs $DIR/tor
|
|
fi
|
|
|
|
#tor -f $ZNETPATH/tools/torrc RunAsDaemon 1 && \
|
|
python2 $ZNETPATH/start.py --data_dir $DIR/data --log_dir $DIR/logs --tor disable --proxy 127.0.0.1:9050 --disable_udp &
|