Add .gitignore and .gitea/workflows/ci.yml
Some checks failed
Run CI/CD... / main (push) Failing after 1m57s

This commit is contained in:
Your Name 2025-01-31 15:36:15 +00:00
parent 690051f875
commit 000c2abd48
2 changed files with 13 additions and 0 deletions

View file

@ -13,4 +13,5 @@ jobs:
with:
CI_DEPLOY: ${{ secrets.CI_DEPLOY }}
PUBLICATOR: ${{ secrets.PUBLICATOR }}
REPO_DEPLOY: ${{ secrets.REPO_DEPLOY }}

12
zeronet3_start Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
DIR="$HOME/.zeronet"
ZNETPATH="/usr/lib/python3/site-packages/zeronet"
if [ ! -d $DIR ]; then
mkdir -p $DIR/data $DIR/logs $DIR/tor/data
fi
/usr/bin/tor -f $ZNETPATH/tools/torrc RunAsDaemon 1 && \
python3 $ZNETPATH/start.py --data_dir $DIR/data --log_dir $DIR/logs --tor enable --disable_udp &