mirror of
https://abf.rosa.ru/djam/zeronet.git
synced 2025-02-23 14:42:55 +00:00
Add .gitignore and .gitea/workflows/ci.yml
Some checks failed
Run CI/CD... / main (push) Failing after 1m57s
Some checks failed
Run CI/CD... / main (push) Failing after 1m57s
This commit is contained in:
parent
690051f875
commit
000c2abd48
2 changed files with 13 additions and 0 deletions
|
@ -13,4 +13,5 @@ jobs:
|
|||
with:
|
||||
CI_DEPLOY: ${{ secrets.CI_DEPLOY }}
|
||||
PUBLICATOR: ${{ secrets.PUBLICATOR }}
|
||||
REPO_DEPLOY: ${{ secrets.REPO_DEPLOY }}
|
||||
|
||||
|
|
12
zeronet3_start
Executable file
12
zeronet3_start
Executable 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 &
|
||||
|
Loading…
Add table
Reference in a new issue