echo "apt update"
## apt update ##
apt-get update && apt-get install -y curl wget htop screen vnstat sudo iftop zip rsync

echo "install docker docker-compose"
## install docker docker-compose ##
curl http://f.5o.cm/sh/in.docker.sh | bash

## start aria2p for docker ##
curl -o /root/aria2p.yml f.5o.cm/conf/aria2p/aria2p.yml

cd /root/
docker-compose -f aria2p.yml up -d

echo "wait 15s"
sleep 15

sed -i 's/drive-name=OneDrive/drive-name=gg/g' /home/aria2p/config/script.conf

wget -O /home/aria2p/config/rclone.conf https://a.5o.cm/shell/conf/aria2p/rclone.conf

docker-compose -f aria2p.yml restart


