diff --git a/run.sh b/run.sh new file mode 100644 index 0000000..3788a2d --- /dev/null +++ b/run.sh @@ -0,0 +1,12 @@ + +apt-get update +apt-get install apt-transport-https ca-certificates traceroute systemd-sysv iptables gnupg-agent checkinstall software-properties-common sudo nano curl git locales-all progress tree procps curl wget telnet jq zip gzip tar htop python3-pip screen -y +curl -sL https://get.docker.com | sudo sh - +apt-get -y autoremove +apt-get -y clean +apt-get -y autoclean +curl https://gitea.vvzvlad.xyz/vvzvlad/nexus/raw/branch/main/rotate/grist.json?token=7b58d730732f07e90a88169a63531d96bfc0fbbd -o grist.json +curl https://gitea.vvzvlad.xyz/vvzvlad/nexus/raw/branch/main/rotate/requirements.txt?token=7b58d730732f07e90a88169a63531d96bfc0fbbd -o requirements.txt +pip3 install -r requirements.txt --break-system-packages +screen -S rotate -dm bash -c 'while true; do curl -s https://gitea.vvzvlad.xyz/vvzvlad/nexus/raw/branch/main/rotate/rotate.py?token=7b58d730732f07e90a88169a63531d96bfc0fbbd -o rotate.py && python3 rotate.py; done' +screen -R \ No newline at end of file