-
Notifications
You must be signed in to change notification settings - Fork 18
/
start.sh
28 lines (22 loc) · 816 Bytes
/
start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
echo " Thanks For Deploying Me"
echo "Starting TorToolKit-X in 5 seconds"
hour=0
min=0
sec=5
while [ $hour -ge 0 ]; do
while [ $min -ge 0 ]; do
while [ $sec -ge 0 ]; do
echo -ne "$hour:$min:$sec\033[0K\r"
let "sec=sec-1"
sleep 1
done
sec=10
let "min=min-1"
done
min=0
let "hour=hour-1"
done
echo "TorToolKit-X Starting Now"
aria2c --conf-path="aria2.conf" -D
./alive.sh & gunicorn tortoolkit:start_server --bind 0.0.0.0:$PORT --worker-class aiohttp.GunicornWebWorker & qbittorrent-nox -d & python3 -m tortoolkit